diff --git a/fish/.config/fish/functions/fzf_key_bindings.fish b/fish/.config/fish/functions/fzf_key_bindings.fish index 65f85a5..ff68d89 120000 --- a/fish/.config/fish/functions/fzf_key_bindings.fish +++ b/fish/.config/fish/functions/fzf_key_bindings.fish @@ -1 +1 @@ -/Users/colinpowell/.fzf/shell/key-bindings.fish \ No newline at end of file +/home/powellc/.fzf/shell/key-bindings.fish \ No newline at end of file diff --git a/i3/.config/i3/config b/i3/.config/i3/config index 0cc1887..bee7a39 100644 --- a/i3/.config/i3/config +++ b/i3/.config/i3/config @@ -32,11 +32,11 @@ font pango:DejaVu Sans Mono 8 floating_modifier $mod exec feh --bg-scale /usr/share/backgrounds/Cuttlefish Wallpaper Grey 4096x2304.png -exec --no-startup-id betterlockscreen -w -exec --no-startup-id fish /home/aria/tmuxify.sh -bindsym $mod+shift+x exec --no-startup-id betterlockscreen -l dimblur +#exec --no-startup-id betterlockscreen -w +#exec --no-startup-id fish /home/aria/tmuxify.sh +#bindsym $mod+shift+x exec --no-startup-id betterlockscreen -l dimblur # binds -bindsym $mod+Return exec --no-startup-id kitty +bindsym $mod+Return exec --no-startup-id alacritty bindsym $mod+a exec --no-startup-id fish -c emacs bindsym $mod+e exec --no-startup-id fish -c rofimoji bindsym $mod+p exec --no-startup-id fish -c "i3-quickterm shell" @@ -149,6 +149,9 @@ bindsym $mod+Shift+r restart # exit i3 (logs you out of your X session) bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'" +bar { + status_command i3status +} # resize window (you can also use the mouse for that) mode "resize" { # These bindings trigger as soon as you enter the resize mode @@ -175,8 +178,8 @@ mode "resize" { } bindsym $mod+r mode "resize" -smart_borders on -exec_always --no-startup-id ~/.config/i3/polybar.sh +#smart_borders on +#exec_always --no-startup-id ~/.config/i3/polybar.sh exec --no-startup-id compton & gaps inner 5 diff --git a/i3/.config/i3/polybar.sh b/i3/.config/i3/polybar.sh index 9b31fb8..dba7870 100755 --- a/i3/.config/i3/polybar.sh +++ b/i3/.config/i3/polybar.sh @@ -7,4 +7,4 @@ killall -q polybar while pgrep -x polybar >/dev/null; do sleep 1; done # Launch polybar -polybar top & +polybar main & diff --git a/polybar/.config/polybar/config b/polybar/.config/polybar/config index 2239862..a848099 100644 --- a/polybar/.config/polybar/config +++ b/polybar/.config/polybar/config @@ -1,145 +1,327 @@ -[bar/base] -width = 100% -height = 28 +# vim: ft=dosini +[colors] + accent = #EDD080 + bckgrd = #121212 + select = #161A1B -font-0 = -misc-fixed-medium-r-s*-13-*-iso10646-1 -font-1 = Font Awesome:size=8:antialias=false -font-2 = DejaVu Sans:size=9:antialias=false + background = ${xrdb:color0:self.bckgrd} + background-alt = ${self.select} + foreground = ${xrdb:color6:#A5ffffff} + foreground-alt = ${xrdb:color7:#222} + primary = ${xrdb:color1:self.accent} + secondary = ${xrdb:color2:#222} + alert = ${xrdb:color3:#bd2c40} + white = #FFFFFF + grey = #AAAAAA + transparent = #00000000 -background = ${xrdb:bga:#dd222228} -foreground = ${xrdb:fg:#d8dade} -module-margin-left = 1 -module-margin-right = 1 +[global/wm] + margin-top = 0 + margin-bottom = 0 -modules-left = i3 xwindow -modules-right = mail lan_i lan wlan volume_i volume xkeyboard date -tray-padding = 4 -tray-position = right -tray-background = ${xrdb:bg:#222228} +[settings] + throttle-output = 5 + throttle-output-for = 10 + throttle-input-for = 30 + screenchange-reload = true + bargapp= 10 + barwidth = 100% + barheigh = 48 -[bar/top] -inherit = bar/base -# font-0 = Ubuntu:size=9:antialias=false -# font-1 = Font Awesome:size=8:antialias=false -# font-2 = monospace:size=9:antialias=false +[bar/main] + monitor-strict = true + fixed-center = true + dpi = 96 + bottom = false + width = ${settings.barwidth} + height = ${settings.barheigh} + offset-x = 0 + offset-y = 0 + background = ${colors.background} + foreground = ${colors.foreground} + overline-size = 0 + overline-color = #f00 + underline-size = 2 + underline-color = #00f + border-top-size = ${settings.bargapp} + border-left-size = ${settings.bargapp} + border-right-size = ${settings.bargapp} + border-bottom-size = 0 + border-color = ${colors.transparent} + radius-top = 10 + radius-bottom = 10 + spacing = 2 + padding-left = 2 + padding-right = 2 + module-margin-left = 2 + module-margin-right = 2 + font-0 = Monoid:size=12;4 + font-1 = unifont:size=12;1 + font-2 = FontAwesome:size=12;3 + font-3 = NotoSans-Regular:size=12;-1 + font-4 = MaterialIcons:size=16;5 + tray-position = right + tray-padding = 4 + modules-left = cast wlan + modules-center = mpd + modules-right = filesystem battery volume light date -[bar/bottom] -inherit = bar/base -bottom = true -# Workspaces {{{ +[bar/workspaces] + monitor-strict = true + dpi = 96 + bottom = true + width = ${settings.barwidth} + height = 3 + background = ${colors.transparent} + foreground = ${colors.foreground} + border-top-size = 0 + border-bottom-size = 0 + border-color = ${colors.transparent} + font-0 = Monoisome:size=10;4 + font-1 = FontAwesome:pixelsize=10;3 + font-5 = unifont:size=14;1 + modules-center = i3 BSP + [module/i3] -type = internal/i3 + type = internal/i3 + format = + pin-workspaces = true + label-focused = %name% + label-focused-foreground= ${colors.background} + label-focused-background = ${colors.foreground} + label-focused-underline = ${colors.foreground} + label-focused-padding = 3 + label-unfocused = %name% + label-unfocused-padding = 2 + label-unfocused-background = ${colors.background} + label-urgent = %name% + label-urgent-foreground= ${colors.alert} + label-urgent-background = ${colors.background-alt} + label-urgent-padding = 2 + label-empty = %name% + label-empty-background = ${colors.background-alt} + label-empty-padding = ${self.label-focused-padding} -label-focused = %index% -label-focused-padding = 2 -label-focused-background = ${bar/base.foreground} -label-focused-foreground = ${bar/base.background} -label-unfocused = ${self.label-focused} -label-unfocused-padding = ${self.label-focused-padding} +[module/mouseloc] + type = custom/script + exec = echo "X:" $(xdotool getmouselocation | awk '{print substr($2,3,4)}') " Y:" $(xdotool getmouselocation | awk '{print substr($1,3,4)}') + interval = 0.1 + label = %output% + format =