diff --git a/bigg/i3/config b/bigg/i3/config index 10d0c78..acf108b 100644 --- a/bigg/i3/config +++ b/bigg/i3/config @@ -21,7 +21,7 @@ exec --no-startup-id dex --autostart --environment i3 exec --no-startup-id numlockx on ## Xrandr -exec --no-startup-id xrandr --output HDMI-A-0 --mode 1024x768 --pos 0x120 --rotate normal --output DVI-D-0 --primary --mode 1920x1080 --pos 1024x0 --rotate normal --output HDMI-A-1 --off +exec --no-startup-id xrandr --output HDMI-A-0 --mode 1024x768 --pos 0x110 --rotate normal --output DVI-D-0 --primary --mode 1920x1080 --pos 1024x0 --rotate normal --output HDMI-A-1 --off ## Trackball Xinput Props exec_always --no-startup-id ~/.config/script/kensington.sh @@ -55,42 +55,37 @@ exec_always --no-startup-id xset s off exec_always --no-startup-id xset -dpms ## Wallpaper -# exec --no-startup-id feh --bg-fill ~/pics/wp/2b16x9.jpg ~/pics/wp/2b4x3.png -# exec --no-startup-id nitrogen --restore exec --no-startup-id xwallpaper --output HDMI-A-0 --center ~/pics/wp/2b4x3.png --output DVI-D-0 --center ~/pics/wp/2b16x9.jpg ## Panels exec_always --no-startup-id ~/.config/i3/polybar.sh & -## Transmission -# exec --no-startup-id transmission-daemon - ## Hide mouse cursor when idle exec --no-startup-id mousetrap -t 5 -##### SOME SETTINGS ###### -# tiling_drag off +## MPD Notifications +exec --no-startup-id /usr/bin/musnify-mpd ##### BINDINGS ###### -## Calendar +## Fast calendar bindsym $mod+Escape exec --no-startup-id kitty ikhal -## Play/Pause music -bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause +## Play/Pause MPD +bindsym XF86AudioPlay exec --no-startup-id mpc toggle -## Stop music -bindsym XF86AudioStop exec --no-startup-id playerctl stop +## Stop MPD +bindsym XF86AudioStop exec --no-startup-id mpc stop -## Next/Prev music -bindsym XF86AudioPrev exec --no-startup-id playerctl previous -bindsym XF86AudioNext exec --no-startup-id playerctl next +## Next/Prev MPD +bindsym XF86AudioPrev exec --no-startup-id mpc prev +bindsym XF86AudioNext exec --no-startup-id mpc next ## MPD Volume control -bindsym XF86AudioRaiseVolume exec --no-startup-id polybar-msg action "#mpdvol.hook.1" && polybar-msg action "#mpdvol.hook.0" -bindsym XF86AudioLowerVolume exec --no-startup-id polybar-msg action "#mpdvol.hook.2" && polybar-msg action "#mpdvol.hook.0" -bindsym Shift+XF86AudioRaiseVolume exec --no-startup-id polybar-msg action "#mpdvol.hook.4" && polybar-msg action "#mpdvol.hook.0" -bindsym Shift+XF86AudioLowerVolume exec --no-startup-id polybar-msg action "#mpdvol.hook.5" && polybar-msg action "#mpdvol.hook.0" +bindsym XF86AudioRaiseVolume exec --no-startup-id polybar-msg action "#mpdvol.hook.4" && polybar-msg action "#mpdvol.hook.0" +bindsym XF86AudioLowerVolume exec --no-startup-id polybar-msg action "#mpdvol.hook.5" && polybar-msg action "#mpdvol.hook.0" +bindsym Ctrl+XF86AudioRaiseVolume exec --no-startup-id polybar-msg action "#mpdvol.hook.1" && polybar-msg action "#mpdvol.hook.0" +bindsym Ctrl+XF86AudioLowerVolume exec --no-startup-id polybar-msg action "#mpdvol.hook.2" && polybar-msg action "#mpdvol.hook.0" bindsym XF86Tools exec --no-startup-id polybar-msg action "#mpdvol.hook.3" && polybar-msg action "#mpdvol.hook.0" ## Toggle keyboard layout @@ -123,10 +118,10 @@ set $refresh_i3status killall -SIGUSR1 i3status bindsym $mod+F12 exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -5% && $refresh_i3status bindsym $mod+F11 exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5% && $refresh_i3status bindsym $mod+F10 exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status -bindsym $mod+Shift+XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -5% && $refresh_i3status -bindsym $mod+Shift+XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5% && $refresh_i3status -bindsym $mod+XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -1% && $refresh_i3status -bindsym $mod+XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +1% && $refresh_i3status +bindsym $mod+Ctrl+XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -1% && $refresh_i3status +bindsym $mod+Ctrl+XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +1% && $refresh_i3status +bindsym $mod+XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -5% && $refresh_i3status +bindsym $mod+XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5% && $refresh_i3status bindsym $mod+XF86Tools exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status # bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status diff --git a/bigg/polybar/config.ini b/bigg/polybar/config.ini index 32ad319..7dd6294 100644 --- a/bigg/polybar/config.ini +++ b/bigg/polybar/config.ini @@ -18,7 +18,6 @@ [colors] background = #ccfdf6e3 -; background = #00fdf6e3 background-alt = #ccfdf6e3 foreground = #657b83 primary = #657b83 @@ -30,9 +29,7 @@ disabled = #707880 screenchange-reload = true pseudo-transparency = true - [bar/biggtop] - width = 100% height = 15pt radius = 0 @@ -50,7 +47,7 @@ padding-right = 1 module-margin = 1 -separator = | +separator = separator-foreground = ${colors.disabled} font-0 = Fira Mono:style=Medium:pixelsize=9;2 @@ -70,7 +67,6 @@ enable-ipc = true monitor = DVI-D-0 [bar/smoltop] - width = 100% height = 15pt radius = 0 @@ -88,7 +84,7 @@ padding-right = 1 module-margin = 1 -separator = | +separator = separator-foreground = ${colors.disabled} font-0 = Fira Mono:style=Medium:pixelsize=9;2 @@ -108,7 +104,6 @@ enable-ipc = false monitor = HDMI-A-0 [bar/biggbott] - bottom = true width = 100% @@ -123,12 +118,12 @@ line-size = 3pt border-size = 0pt border-color = #00000000 -; padding-left = 1 +# padding-left = 1 padding-right = 1 module-margin = 1 -separator = | +separator = separator-foreground = ${colors.disabled} font-0 = Fira Mono:style=Medium:pixelsize=9;2 @@ -142,7 +137,6 @@ modules-right = mpd mpdvol weather updates uptime cursor-click = pointer cursor-scroll = ns-resize -; enable-ipc = false enable-ipc = true monitor = DVI-D-0 @@ -164,12 +158,12 @@ line-size = 3pt border-size = 0pt border-color = #00000000 -; padding-left = 1 +# padding-left = 1 padding-right = 1 module-margin = 1 -separator = | +separator = separator-foreground = ${colors.disabled} font-0 = Fira Mono:style=Medium:pixelsize=9;2 @@ -178,7 +172,6 @@ font-2 = SymbolsNerdFont:size=10;2 modules-left = i3 -; modules-right = filesystem modules-right = root home storage cursor-click = pointer @@ -188,22 +181,15 @@ enable-ipc = false monitor = HDMI-A-0 -; tray-position = right - - - ############### # CUSTOMS # ############### [module/weather] -; format-background = ${colors.background-alt} type = custom/script -; hook-0 = ~/.config/polybar/scripts/weather-plugin.sh -# exec = ~/.config/polybar/scripts/weather-plugin.sh -exec = ANSIWEATHERRC=~/.config/ansiweather/config_for_bar ansiweather | sed 's#.*Sa.*rg: ##' | tr ':' ' ' +exec = ANSIWEATHERRC=~/.config/ansiweather/config_for_bar ansiweather | sed 's#.*Sa.*rg: ##' | tr -d ':,-' tail = false -interval = 900 +interval = 1800 [module/updates] type = custom/script @@ -213,8 +199,6 @@ interval = 600 [module/uptime] type = custom/script format-prefix = "󰅔 " -# exec = echo 󰅔 $(uptime | sed 's/.*up //g;s/,.*user.*//g' ) -# exec = uptime | sed 's/.*up //g;s/,.*user.*//g' exec = uptime | sed 's/.*up //;s/,.*user.*//' | tr ' ' ' ' interval = 60 @@ -223,7 +207,6 @@ type = custom/ipc interval = 10 initial = 1 -# hook-0 = echo  $(mpc --host=192.168.0.186 status %volume%) hook-0 = echo 󰴸 $(mpc --host=192.168.0.186 status %volume%) hook-1 = mpc --host=192.168.0.186 volume +1 > /dev/null hook-2 = mpc --host=192.168.0.186 volume -1 > /dev/null @@ -231,11 +214,6 @@ hook-3 = mpc --host=192.168.0.186 toggleoutput 1 > /dev/null hook-4 = mpc --host=192.168.0.186 volume +5 > /dev/null hook-5 = mpc --host=192.168.0.186 volume -5 > /dev/null -# exec = echo  $(mpc --host=192.168.0.186 status %volume%) -# scroll-up = mpc --host=192.168.0.186 volume +5 -# scroll-down = mpc --host=192.168.0.186 volume -5 -# click-left = mpc --host=192.168.0.186 toggleoutput 1 - [module/ddcci] type = custom/script exec = echo `ddcutil getvcp 10` | sed 's/VCP code 0x10 (Brightness ): current value = //'| sed 's/, max value = 100//' @@ -297,7 +275,6 @@ label-urgent-padding = 1 type = internal/xwindow label =  %title% label-ellipsis = true -; label-padding-right = 2 [module/xwin-bigg] inherit = xwindow-main @@ -353,7 +330,7 @@ interval = 1 ; ; ; -format-online = 󰝚 Now playing: | | +format-online = 󰝚 Now playing: format-playing = ${self.format-online} format-paused = ${self.format-online} format-stopped = Press! -> <- @@ -506,15 +483,6 @@ interval = 3.0 label-connected = 󰒄 %ifname% %local_ip% label-disconnected = 󰒄 %local_ip% -# [module/tun0] -# type = internal/network -# interface = tun0 -# interface-type = wired -# interval = 3.0 -# ping-interval = 5 -# label-connected = 󰖂 %local_ip% -# label-disconnected = - [module/ethernet] type = internal/network interface = enp37s0