giving the home PC config a bit of TLC
This commit is contained in:
@ -25,3 +25,5 @@
|
||||
serve = !git daemon --verbose --export-all --base-path=.git --reuseaddr --strict-paths .git/
|
||||
[init]
|
||||
defaultBranch = main
|
||||
[safe]
|
||||
directory = /opt/flutter
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
set $alt Mod1
|
||||
set $mod Mod4
|
||||
font pango:Monaspace Argon 20
|
||||
font pango:Monaspace Argon, pango:Noto Color Emoji, pango:Symbols Nerd Font 16
|
||||
|
||||
################################################################################
|
||||
## Custom Utility ##############################################################
|
||||
@ -39,7 +39,6 @@ bindsym $mod+Shift+o exec --no-startup-id $UTILS launch obs
|
||||
|
||||
# Terminal
|
||||
bindsym $mod+Return exec i3-sensible-terminal
|
||||
bindsym $mod+shift+Return exec --no-startup-id $UTILS alternateterm
|
||||
|
||||
# Other
|
||||
bindsym $mod+p exec --no-startup-id $UTILS bgrandomize
|
||||
@ -78,16 +77,16 @@ bindsym $mod+Shift+f focus parent; fullscreen; focus child
|
||||
|
||||
bindsym $mod+BackSpace open
|
||||
|
||||
bindsym $mod+1 workspace number "1"; bar mode dock
|
||||
bindsym $mod+2 workspace number "2"; bar mode hide
|
||||
bindsym $mod+3 workspace number "3"; bar mode dock
|
||||
bindsym $mod+4 workspace number "4"; bar mode hide
|
||||
bindsym $mod+5 workspace number "5"; bar mode dock
|
||||
bindsym $mod+6 workspace number "6"; bar mode hide
|
||||
bindsym $mod+7 workspace number "7"; bar mode dock
|
||||
bindsym $mod+8 workspace number "8"; bar mode hide
|
||||
bindsym $mod+9 workspace number "9"; bar mode dock
|
||||
bindsym $mod+0 workspace number "0"; bar mode hide
|
||||
bindsym $mod+1 workspace number "1"
|
||||
bindsym $mod+2 workspace number "2"
|
||||
bindsym $mod+3 workspace number "3"
|
||||
bindsym $mod+4 workspace number "4"
|
||||
bindsym $mod+5 workspace number "5"
|
||||
bindsym $mod+6 workspace number "6"
|
||||
bindsym $mod+7 workspace number "7"
|
||||
bindsym $mod+8 workspace number "8"
|
||||
bindsym $mod+9 workspace number "9"
|
||||
bindsym $mod+0 workspace number "0"
|
||||
|
||||
bindsym $mod+Shift+1 move container to workspace number "1"
|
||||
bindsym $mod+Shift+2 move container to workspace number "2"
|
||||
@ -136,11 +135,6 @@ bindsym Control+$alt+Delete exit
|
||||
bindsym $mod+Shift+r restart
|
||||
bindsym $mod+Shift+c reload
|
||||
|
||||
# for use after any command which should refresh the statusbar
|
||||
set $refresh_statusbar killall -SIGUSR1 i3status
|
||||
bar {
|
||||
status_command i3status
|
||||
}
|
||||
|
||||
# i3-gaps settings
|
||||
for_window [class="^.*"] border pixel 4
|
||||
@ -195,3 +189,18 @@ client.focused_inactive $INACTIVE_BORDER $INACTIVE_BACKGROUND $INACTIVE_TEXT $IN
|
||||
client.unfocused $UNFOCUSED_BORDER $UNFOCUSED_BACKGROUND $UNFOCUSED_TEXT $UNFOCUSED_INDICATOR $UNFOCUSED_CHILD_BORDER
|
||||
client.urgent $URGENT_BORDER $URGENT_BACKGROUND $URGENT_TEXT $URGENT_INDICATOR $URGENT_CHILD_BORDER
|
||||
client.placeholder $PLACEHOLDER_BORDER $PLACEHOLDER_BACKGROUND $PLACEHOLDER_TEXT $PLACEHOLDER_INDICATOR $PLACEHOLDER_CHILD_BORDER
|
||||
|
||||
#####################################################################
|
||||
### Legacy Defaults #################################################
|
||||
#####################################################################
|
||||
|
||||
# These settings are system-specific and are removed by
|
||||
# 'scwrypts generate i3 config' I've left them in place so my
|
||||
# defaults are in place on machines which still use the symlinked
|
||||
# version of this config file rather than the generated one.
|
||||
|
||||
# for use after any command which should refresh the statusbar
|
||||
set $refresh_statusbar killall -SIGUSR1 i3status
|
||||
bar {
|
||||
status_command i3status
|
||||
}
|
||||
|
25
config/i3.config.yaml
Normal file
25
config/i3.config.yaml
Normal file
@ -0,0 +1,25 @@
|
||||
--- # used by scwrypts i3 generate config (override at ~/.config/i3/local.yaml)
|
||||
font:
|
||||
size: 14
|
||||
family: >-
|
||||
pango:Monaspace Argon,
|
||||
pango:Noto Color Emoji,
|
||||
pango:Symbols Nerd Font,
|
||||
FontAwesome
|
||||
|
||||
application-launcher: >-
|
||||
dmenu_run -c -l 5 -fn 'DejaVuSansMono Nerd Font-25'
|
||||
|
||||
gaps:
|
||||
inner: 0
|
||||
outer: 0
|
||||
|
||||
i3configs:
|
||||
- |-
|
||||
# for use after any command which should refresh the statusbar
|
||||
set $refresh_statusbar killall -SIGUSR1 i3status
|
||||
bar {
|
||||
status_command i3status
|
||||
}
|
||||
# - exec_always --no-startup-id $DOTWRYN/bin/polybar &
|
||||
- exec --no-startup-id i3-msg workspace 1
|
150
config/polybar.ini
Normal file
150
config/polybar.ini
Normal file
@ -0,0 +1,150 @@
|
||||
include-file = $DOTWRYN/colorschemes/active/polybar.ini
|
||||
|
||||
[settings]
|
||||
screenchange-reload = true
|
||||
pseudo-transparency = true
|
||||
|
||||
[bar/i3]
|
||||
bottom = true
|
||||
width = 100%
|
||||
height = 24pt
|
||||
radius = 0
|
||||
|
||||
; dpi = 96
|
||||
|
||||
background = ${colors.background}
|
||||
foreground = ${colors.foreground}
|
||||
|
||||
line-size = 4pt
|
||||
border-size = 0pt
|
||||
border-color = #{colors.background}
|
||||
padding-left = 1
|
||||
padding-right = 1
|
||||
module-margin = 0
|
||||
|
||||
separator = " "
|
||||
separator-foreground = ${colors.disabled}
|
||||
|
||||
font-0 = Monaspace Krypton:style=Bold
|
||||
font-1 = Noto Color Emoji:style=Regular
|
||||
font-2 = Symbols Nerd Font:style=Regular
|
||||
font-3 = DejaVu Sans:style=Bold
|
||||
font-4 = Font Awesome 6 Free
|
||||
|
||||
|
||||
cursor-click = pointer
|
||||
cursor-scroll = ns-resize
|
||||
|
||||
enable-ipc = true
|
||||
|
||||
#####################################################################
|
||||
### modules-left ####################################################
|
||||
#####################################################################
|
||||
|
||||
[bar/i3]
|
||||
modules-left = xworkspaces
|
||||
|
||||
[module/xworkspaces]
|
||||
type = internal/xworkspaces
|
||||
|
||||
label-active = %name%
|
||||
label-active-background = ${colors.background-alt}
|
||||
label-active-padding = 1
|
||||
|
||||
label-occupied = %name%
|
||||
label-occupied-padding = 1
|
||||
|
||||
label-urgent = %name%
|
||||
label-urgent-background = ${colors.alert}
|
||||
label-urgent-padding = 1
|
||||
|
||||
#####################################################################
|
||||
### modules-center ##################################################
|
||||
#####################################################################
|
||||
|
||||
[bar/i3]
|
||||
modules-center = tray
|
||||
|
||||
[module/tray]
|
||||
type = internal/tray
|
||||
|
||||
format-margin = 8pt
|
||||
tray-spacing = 8pt
|
||||
|
||||
#####################################################################
|
||||
### modules-right ###################################################
|
||||
#####################################################################
|
||||
|
||||
[bar/i3]
|
||||
modules-right = fs memory cpu wlan eth datetime backlight battery
|
||||
|
||||
[module/fs]
|
||||
type = internal/fs
|
||||
|
||||
interval = 17
|
||||
mount-0 = /
|
||||
spacing = 0
|
||||
label-mounted = ""
|
||||
label-unmounted = ""
|
||||
warn-percentage = 83
|
||||
format-warn = <label-warn>
|
||||
label-warn = "%free% remaining on disk (%percentage_used%% full)"
|
||||
label-warn-foreground = ${colors.alert}
|
||||
|
||||
[module/memory]
|
||||
type = internal/memory
|
||||
interval = 2
|
||||
label = ""
|
||||
warn-percentage = 73
|
||||
format-warn = <label-warn>
|
||||
label-warn = RAM%percentage_used:2%%
|
||||
label-warn-foreground = ${colors.alert}
|
||||
|
||||
[module/cpu]
|
||||
type = internal/cpu
|
||||
interval = 3
|
||||
label = ""
|
||||
warn-percentage = 79
|
||||
format-warn = <label-warn>
|
||||
label-warn = CPU%percentage:2%%
|
||||
label-warn-foreground = ${colors.alert}
|
||||
|
||||
[network-base]
|
||||
type = internal/network
|
||||
interval = 31
|
||||
format-connected = <label-connected>
|
||||
format-disconnected = <label-disconnected>
|
||||
label-disconnected = (%ifname%:⊘)
|
||||
label-disconnected-foreground = ${colors.disabled}
|
||||
label-connected = %ifname%/%local_ip%
|
||||
label-connected-foreground = ${colors.secondary}
|
||||
|
||||
[module/wlan]
|
||||
inherit = network-base
|
||||
interface-type = wireless
|
||||
|
||||
[module/eth]
|
||||
inherit = network-base
|
||||
interface-type = wired
|
||||
|
||||
[module/datetime]
|
||||
type = custom/script
|
||||
label-foreground = ${colors.foreground}
|
||||
interval = 0.5
|
||||
exec = echo $(date +"%A %B %d, %Y : %I:%M:%S-%P") $(TZ=UTC date +"{%H:%M-UTC}")
|
||||
|
||||
[module/backlight]
|
||||
type = internal/backlight
|
||||
format = <bar>
|
||||
|
||||
[module/battery]
|
||||
type = internal/battery
|
||||
|
||||
interval = 13
|
||||
format-charging = <bar-capacity>
|
||||
format-discharging = <bar-capacity>
|
||||
format-full = <bar-capacity>
|
||||
format-low = <bar-capacity> <label-low>
|
||||
low-at = 10
|
||||
label-low = ⚠
|
||||
label-low-foreground = ${colors.alert}
|
274
config/rofi.theme.rasi
Normal file
274
config/rofi.theme.rasi
Normal file
@ -0,0 +1,274 @@
|
||||
/**
|
||||
*
|
||||
* Author : Aditya Shakya (adi1090x)
|
||||
* Github : @adi1090x
|
||||
*
|
||||
* Rofi Theme File
|
||||
* Rofi Version: 1.7.3
|
||||
**/
|
||||
|
||||
/*****----- Configuration -----*****/
|
||||
configuration {
|
||||
modi: "drun";
|
||||
show-icons: true;
|
||||
display-drun: "💻";
|
||||
display-run: "☕";
|
||||
display-filebrowser: "📂";
|
||||
display-window: "🪟";
|
||||
drun-display-format: "{name} [<span weight='light' size='small'><i>({generic})</i></span>]";
|
||||
window-format: "{w} · {c} · {t}";
|
||||
}
|
||||
|
||||
/*****----- Global Properties -----*****/
|
||||
|
||||
@import "../colorschemes/active/rofi"
|
||||
|
||||
* {
|
||||
border-colour: var(selected);
|
||||
handle-colour: var(selected);
|
||||
background-colour: var(background);
|
||||
foreground-colour: var(foreground);
|
||||
alternate-background: var(background-alt);
|
||||
normal-background: var(background);
|
||||
normal-foreground: var(foreground);
|
||||
urgent-background: var(urgent);
|
||||
urgent-foreground: var(background);
|
||||
active-background: var(active);
|
||||
active-foreground: var(background);
|
||||
selected-normal-background: var(selected);
|
||||
selected-normal-foreground: var(background);
|
||||
selected-urgent-background: var(active);
|
||||
selected-urgent-foreground: var(background);
|
||||
selected-active-background: var(urgent);
|
||||
selected-active-foreground: var(background);
|
||||
alternate-normal-background: var(background);
|
||||
alternate-normal-foreground: var(foreground);
|
||||
alternate-urgent-background: var(urgent);
|
||||
alternate-urgent-foreground: var(background);
|
||||
alternate-active-background: var(active);
|
||||
alternate-active-foreground: var(background);
|
||||
}
|
||||
|
||||
/*****----- Main Window -----*****/
|
||||
window {
|
||||
/* properties for window widget */
|
||||
transparency: "real";
|
||||
location: center;
|
||||
anchor: center;
|
||||
fullscreen: false;
|
||||
width: 800px;
|
||||
x-offset: 0px;
|
||||
y-offset: 0px;
|
||||
|
||||
/* properties for all widgets */
|
||||
enabled: true;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
border: 0px solid;
|
||||
border-radius: 0px;
|
||||
border-color: @border-colour;
|
||||
cursor: "default";
|
||||
background-color: @background-colour;
|
||||
}
|
||||
|
||||
/*****----- Main Box -----*****/
|
||||
mainbox {
|
||||
enabled: true;
|
||||
spacing: 10px;
|
||||
margin: 0px;
|
||||
padding: 16px;
|
||||
border: 0px solid;
|
||||
border-radius: 0px 0px 0px 0px;
|
||||
border-color: @border-colour;
|
||||
background-color: transparent;
|
||||
children: [ "inputbar", "listview" ];
|
||||
}
|
||||
|
||||
/*****----- Inputbar -----*****/
|
||||
inputbar {
|
||||
enabled: true;
|
||||
spacing: 10px;
|
||||
margin: 0px;
|
||||
padding: 0px 0px 10px 10px;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @border-colour;
|
||||
background-color: @background-colour;
|
||||
text-color: @foreground-colour;
|
||||
children: [ "prompt", "entry" ];
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: true;
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
}
|
||||
textbox-prompt-colon {
|
||||
enabled: true;
|
||||
expand: false;
|
||||
str: "::";
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
}
|
||||
entry {
|
||||
enabled: true;
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
cursor: text;
|
||||
placeholder: "";
|
||||
placeholder-color: inherit;
|
||||
}
|
||||
|
||||
/*****----- Listview -----*****/
|
||||
listview {
|
||||
enabled: true;
|
||||
columns: 1;
|
||||
lines: 12;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
scrollbar: false;
|
||||
layout: vertical;
|
||||
reverse: false;
|
||||
fixed-height: true;
|
||||
fixed-columns: true;
|
||||
|
||||
spacing: 0px;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
border: 0px solid;
|
||||
border-radius: 0px;
|
||||
border-color: @border-colour;
|
||||
background-color: transparent;
|
||||
text-color: @foreground-colour;
|
||||
cursor: "default";
|
||||
}
|
||||
scrollbar {
|
||||
handle-width: 5px ;
|
||||
handle-color: @handle-colour;
|
||||
border-radius: 0px;
|
||||
background-color: @alternate-background;
|
||||
}
|
||||
|
||||
/*****----- Elements -----*****/
|
||||
element {
|
||||
enabled: true;
|
||||
spacing: 10px;
|
||||
margin: 0px;
|
||||
padding: 5px;
|
||||
border: 0px solid;
|
||||
border-radius: 0px;
|
||||
border-color: @border-colour;
|
||||
background-color: transparent;
|
||||
text-color: @foreground-colour;
|
||||
cursor: pointer;
|
||||
}
|
||||
element normal.normal {
|
||||
background-color: var(normal-background);
|
||||
text-color: var(normal-foreground);
|
||||
}
|
||||
element normal.urgent {
|
||||
background-color: var(urgent-background);
|
||||
text-color: var(urgent-foreground);
|
||||
}
|
||||
element normal.active {
|
||||
background-color: var(active-background);
|
||||
text-color: var(active-foreground);
|
||||
}
|
||||
element selected.normal {
|
||||
background-color: var(alternate-background);
|
||||
text-color: var(foreground-colour);
|
||||
}
|
||||
element selected.urgent {
|
||||
background-color: var(selected-urgent-background);
|
||||
text-color: var(selected-urgent-foreground);
|
||||
}
|
||||
element selected.active {
|
||||
background-color: var(selected-active-background);
|
||||
text-color: var(selected-active-foreground);
|
||||
}
|
||||
element alternate.normal {
|
||||
background-color: var(alternate-normal-background);
|
||||
text-color: var(alternate-normal-foreground);
|
||||
}
|
||||
element alternate.urgent {
|
||||
background-color: var(alternate-urgent-background);
|
||||
text-color: var(alternate-urgent-foreground);
|
||||
}
|
||||
element alternate.active {
|
||||
background-color: var(alternate-active-background);
|
||||
text-color: var(alternate-active-foreground);
|
||||
}
|
||||
element-icon {
|
||||
background-color: transparent;
|
||||
text-color: inherit;
|
||||
size: 24px;
|
||||
cursor: inherit;
|
||||
}
|
||||
element-text {
|
||||
background-color: transparent;
|
||||
text-color: inherit;
|
||||
highlight: inherit;
|
||||
cursor: inherit;
|
||||
vertical-align: 0.5;
|
||||
horizontal-align: 0.0;
|
||||
}
|
||||
|
||||
/*****----- Mode Switcher -----*****/
|
||||
mode-switcher{
|
||||
enabled: true;
|
||||
spacing: 10px;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
border: 0px solid;
|
||||
border-radius: 0px;
|
||||
border-color: @border-colour;
|
||||
background-color: transparent;
|
||||
text-color: @foreground-colour;
|
||||
}
|
||||
button {
|
||||
padding: 10px;
|
||||
border: 0px solid;
|
||||
border-radius: 0px;
|
||||
border-color: @border-colour;
|
||||
background-color: @alternate-background;
|
||||
text-color: inherit;
|
||||
cursor: pointer;
|
||||
}
|
||||
button selected {
|
||||
background-color: var(selected-normal-background);
|
||||
text-color: var(selected-normal-foreground);
|
||||
}
|
||||
|
||||
/*****----- Message -----*****/
|
||||
message {
|
||||
enabled: true;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
border: 0px solid;
|
||||
border-radius: 0px 0px 0px 0px;
|
||||
border-color: @border-colour;
|
||||
background-color: transparent;
|
||||
text-color: @foreground-colour;
|
||||
}
|
||||
textbox {
|
||||
padding: 10px;
|
||||
border: 0px solid;
|
||||
border-radius: 0px;
|
||||
border-color: @border-colour;
|
||||
background-color: @alternate-background;
|
||||
text-color: @foreground-colour;
|
||||
vertical-align: 0.5;
|
||||
horizontal-align: 0.0;
|
||||
highlight: none;
|
||||
placeholder-color: @foreground-colour;
|
||||
blink: true;
|
||||
markup: true;
|
||||
}
|
||||
error-message {
|
||||
padding: 10px;
|
||||
border: 0px solid;
|
||||
border-radius: 0px;
|
||||
border-color: @border-colour;
|
||||
background-color: @background-colour;
|
||||
text-color: @foreground-colour;
|
||||
}
|
@ -11,10 +11,10 @@ SYMLINKS="
|
||||
# fully qualified path ~/.config/THE-REST
|
||||
# --------------------------------------------------------------------------
|
||||
$DOTWRYN/bin/i3-utils i3/utils
|
||||
$DOTWRYN/colorschemes/active.main kitty/theme.conf
|
||||
$DOTWRYN/colorschemes/active.main.alacritty alacritty/theme.toml
|
||||
$DOTWRYN/colorschemes/active.main.alacritty.yml alacritty/theme.yml
|
||||
$DOTWRYN/colorschemes/active.main.getty wryn/tty-colorscheme
|
||||
$DOTWRYN/colorschemes/active/kitty.conf kitty/theme.conf
|
||||
$DOTWRYN/colorschemes/active/alacritty.toml alacritty/theme.toml
|
||||
$DOTWRYN/colorschemes/active/alacritty.yaml alacritty/theme.yml
|
||||
$DOTWRYN/colorschemes/active/getty.sh wryn/tty-colorscheme
|
||||
$DOTWRYN/config/alacritty.toml alacritty/alacritty.toml
|
||||
$DOTWRYN/config/alacritty.yaml alacritty/alacritty.yml
|
||||
$DOTWRYN/config/bat.conf bat/config
|
||||
@ -22,11 +22,11 @@ $DOTWRYN/config/code-activator.conf code-activator-zsh/settings.zs
|
||||
$DOTWRYN/config/compton.conf compton/compton.conf
|
||||
$DOTWRYN/config/git.conf git/config
|
||||
$DOTWRYN/config/htop.conf htop/htoprc
|
||||
$DOTWRYN/config/i3.conf i3/config
|
||||
$DOTWRYN/config/i3status.conf i3status/config
|
||||
$DOTWRYN/config/kitty.conf kitty/kitty.conf
|
||||
$DOTWRYN/config/mssqlcli.conf mssqlci/config
|
||||
$DOTWRYN/config/pgcli.conf pgcli/config
|
||||
$DOTWRYN/config/polybar.ini polybar/config.ini
|
||||
$DOTWRYN/config/pylint.conf pylintrc
|
||||
$DOTWRYN/config/ripgrep.conf ripgrep/config
|
||||
$DOTWRYN/config/scwrypts/config.zsh scwrypts/config.zsh
|
||||
@ -35,8 +35,8 @@ $DOTWRYN/config/scwrypts/vundle.zsh scwrypts/vundle.zsh
|
||||
$DOTWRYN/config/tmux.conf tmux/tmux.conf
|
||||
$DOTWRYN/config/xcompose.conf X11/xcompose
|
||||
$DOTWRYN/config/xconfig.conf X11/xconfig
|
||||
$DOTWRYN/config/xinitrc.i3 X11/xinitrc
|
||||
$DOTWRYN/config/xinitrc.i3 ../.xinitrc
|
||||
$DOTWRYN/config/xinitrc.i3 X11/xinitrc
|
||||
$DOTWRYN/bin/scwrypts ../.local/bin/scwrypts
|
||||
$DOTWRYN/bin/vim ../.local/bin/vim
|
||||
$DOTWRYN/bin/$(hostnamectl --static) ../.$(hostnamectl --static)
|
||||
|
Reference in New Issue
Block a user