From ad3fef79f8fabf17e3a824cb71362cc095c9c298 Mon Sep 17 00:00:00 2001 From: listout Date: Thu, 4 Aug 2022 11:35:28 +0530 Subject: sxhkd: use alt+tab to focus next/prev window in current desktop Signed-off-by: listout --- .config/bspwm/bspwmrc | 20 +++- .config/polybar/config | 267 --------------------------------------------- .config/polybar/config.ini | 267 +++++++++++++++++++++++++++++++++++++++++++++ .config/sxhkd/sxhkdrc | 2 +- 4 files changed, 282 insertions(+), 274 deletions(-) delete mode 100644 .config/polybar/config create mode 100644 .config/polybar/config.ini (limited to '.config') diff --git a/.config/bspwm/bspwmrc b/.config/bspwm/bspwmrc index 77cec0a..940ef35 100755 --- a/.config/bspwm/bspwmrc +++ b/.config/bspwm/bspwmrc @@ -1,31 +1,39 @@ #! /bin/sh +xrandr --auto + +xrandr --auto --output eDP --primary --mode 1920x1080 +xrandr --auto --output HDMI-A-0 --mode 3840x2160 --above eDP + pgrep -x sxhkd > /dev/null || sxhkd & #picom & /usr/libexec/polkit-gnome-authentication-agent-1 & #/usr/bin/nm-applet & sh $HOME/Documents/scroll_trackball.sh & $HOME/.config/polybar/launch.sh & -hsetroot -solid '#1c1c1c' & +hsetroot -solid '#2E3440' & /usr/bin/kdeconnect-indicator & +#/usr/bin/gentoo-pipewire-launcher & #feh --bg-fill $HOME/wallpaper/waves.png -# bspc config top_padding 27 -bspc monitor -d 1 2 3 4 5 6 7 8 9 +bspc monitor eDP -d 1 2 3 4 +bspc monitor HDMI-A-0 -d 5 6 7 8 +bspc wm -O eDP HDMI-A-0 bspc config border_width 2 bspc config window_gap 1 -bspc config split_ratio 0.52 +bspc config split_ratio 0.50 bspc config borderless_monocle true bspc config gapless_monocle true -bspc config normal_border_color '#2e313d' -bspc config focused_border_color '#5b5f71' +bspc config normal_border_color '#4C566A' +bspc config focused_border_color '#D8DEE9' wmname LG3D bspc rule -a URxvt state=floating +bspc rule -a "firefox" state=floating bspc rule -a kitty state=floating bspc rule -a Thunar state=floating bspc rule -a Lxappearance state=floating diff --git a/.config/polybar/config b/.config/polybar/config deleted file mode 100644 index a56c114..0000000 --- a/.config/polybar/config +++ /dev/null @@ -1,267 +0,0 @@ -;--------; -; COLORS ; -;--------; - -[colors] -nord0 = #2e3440 -nord1 = #3b4252 -nord2 = #434c5e -nord3 = #4c566a -nord4 = #d8dee9 -nord5 = #e5e9f0 -nord6 = #eceff4 -nord7 = #8fbcbb -nord8 = #88c0d0 -nord9 = #81a1c1 -nord10 = #5e81ac -nord11 = #bf616a -nord12 = #d08770 -nord13 = #ebcb8b -nord14 = #a3be8c -nord15 = #b48ead - -background-dark = ${colors.nord0} -background = ${colors.nord3} -background-light = ${colors.nord6} -foreground = #fff -primary = #4c566a -secondary = #f05 -alert = #bd2c40 -accent = #bf616a - -red = ${colors.nord11} -green = ${colors.nord14} -orange = ${colors.nord12} -yellow = ${colors.nord13} -blue = ${colors.nord10} -turkoise = ${colors.nord7} -purple = ${colors.nord15} - -battery = ${colors.yellow} -cpu = ${colors.red} -ram = ${colors.green} -temp = ${colors.orange} -wifi = ${colors.blue} -date = ${colors.turkoise} -time = ${colors.purple} -power = ${colors.nord6} - -[bar/mybar_external] - -;------------; -; DIMENSIONS ; -;------------; - -width = 100% -height = 20 -offset-y = 0 -offset-x = 0 - -border-size = 0 - -background = ${colors.background-dark} -foreground = ${colors.foreground} - -;----------; -; LOCATION ; -;----------; - -bottom = false -monitor = HDMI-A-0 -override-redirect = false - -;-------; -; FONTS ; -;-------; - -font-0="mono:size=11;1" - -;---------; -; MODULES ; -;---------; - -modules-right=cpu temperature pulseaudio date -modules-left=battery network memory -modules-center=bspwm - -[bar/mybar] - -;------------; -; DIMENSIONS ; -;------------; - -width = 100% -height = 20 -offset-y = 0 -offset-x = 0 - -border-size = 0 - -background = ${colors.background-dark} -foreground = ${colors.foreground} - -;----------; -; LOCATION ; -;----------; - -bottom = false -monitor = eDP -override-redirect = false - -;-------; -; FONTS ; -;-------; - -font-0="Dina:pixelsize=11;1" - -;---------; -; MODULES ; -;---------; - -modules-right=cpu temperature pulseaudio date -modules-left=battery network memory -modules-center=bspwm - - -;---------------; -; MISCELLANEOUS ; -;---------------; - -fixed-center = true -tray-position = right -tray-detached = false -module-margin-left = 1 - -[module/battery] -type=internal/battery - -battery=BAT0 -adapter=AC - -poll-interval=5 -full-at=98 - -time-format=%H:%M - -label-discharging=%time% %percentage% -label-charging=%time% %percentage% -label-full=BAT0: %percentage% - -label-full-foreground = ${colors.foreground} -label-full-background = ${colors.background-dark} -label-full-padding = 2 - -label-charging-foreground = ${colors.foreground} -label-charging-background = ${colors.background-dark} -label-charging-padding = 2 - -label-discharging-foreground = ${colors.foreground} -label-discharging-background = ${colors.background-dark} -label-discharging-padding = 2 - -format-discharging= -format-charging= -format-full= - -[module/date] -type=internal/date -interval=1.0 -date=%A %d -time=%I:%M -time-alt=%I:%M:%S %A, %d %B %Y - -format=