From 5d13185f34b9503762a52e43703e4abc71a469f2 Mon Sep 17 00:00:00 2001 From: pasha Date: Mon, 24 Apr 2023 19:52:12 +0300 Subject: [PATCH] upd bigg --- bigg/i3/config | 34 +++++++++++++++++++++------------- bigg/polybar/config.ini | 17 ++++++++++------- bigg/tut/config.toml | 18 ++++++++++++++++-- 3 files changed, 47 insertions(+), 22 deletions(-) diff --git a/bigg/i3/config b/bigg/i3/config index 6c28bc8..92ea9b2 100644 --- a/bigg/i3/config +++ b/bigg/i3/config @@ -21,8 +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 0x120 --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 @@ -65,7 +64,7 @@ exec --no-startup-id nitrogen --restore exec_always --no-startup-id ~/.config/i3/polybar.sh & ## Transmission -exec --no-startup-id transmission-daemon +# exec --no-startup-id transmission-daemon ## Hide mouse cursor when idle exec --no-startup-id mousetrap -t 5 @@ -73,7 +72,7 @@ exec --no-startup-id mousetrap -t 5 ##### BINDINGS ###### ## Calendar -bindsym $mod+Escape exec --no-startup-id kitty -1 ikhal +bindsym $mod+Escape exec --no-startup-id kitty ikhal ## Play/Pause music bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause @@ -86,9 +85,11 @@ bindsym XF86AudioPrev exec --no-startup-id playerctl previous bindsym XF86AudioNext exec --no-startup-id playerctl next ## MPD Volume control -bindsym XF86AudioRaiseVolume exec polybar-msg action "#mpdvol.hook.1" && polybar-msg action "#mpdvol.hook.0" -bindsym XF86AudioLowerVolume exec polybar-msg action "#mpdvol.hook.2" && polybar-msg action "#mpdvol.hook.0" -bindsym XF86Tools exec polybar-msg action "#mpdvol.hook.3" && polybar-msg action "#mpdvol.hook.0" +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 XF86Tools exec --no-startup-id polybar-msg action "#mpdvol.hook.3" && polybar-msg action "#mpdvol.hook.0" ## Toggle keyboard layout bindsym $mod+space exec --no-startup-id xkb-switch --next @@ -120,6 +121,8 @@ 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+XF86Tools exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status @@ -129,7 +132,7 @@ bindsym $mod+XF86Tools exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ t floating_modifier $mod ## start a terminal -bindsym $mod+Return exec --no-startup-id kitty -1 +bindsym $mod+Return exec --no-startup-id kitty ## kill focused window bindsym $mod+q kill @@ -262,6 +265,7 @@ set $ws10 "10:" set $ws11 "11:﯋" set $ws12 "12:" set $ws13 "13:󰞏" +set $ws14 "14:󰓏" # set $ws1 "﯋" # set $ws2 "" @@ -287,9 +291,10 @@ bindsym $mod+7 workspace $ws7 bindsym $mod+8 workspace $ws8 bindsym $mod+9 workspace $ws9 bindsym $mod+0 workspace $ws10 -bindsym Mod1+F1 workspace $ws11 -bindsym Mod1+F2 workspace $ws12 -bindsym Mod1+F3 workspace $ws13 +bindsym $mod+F1 workspace $ws11 +bindsym $mod+F2 workspace $ws12 +bindsym $mod+F3 workspace $ws13 +bindsym $mod+F4 workspace $ws14 ## move focused container to workspace bindsym $mod+Shift+1 move container to workspace $ws1 @@ -302,8 +307,10 @@ bindsym $mod+Shift+7 move container to workspace $ws7 bindsym $mod+Shift+8 move container to workspace $ws8 bindsym $mod+Shift+9 move container to workspace $ws9 bindsym $mod+Shift+0 move container to workspace $ws10 -bindsym Mod1+Shift+F1 move container to workspace $ws11 -bindsym Mod1+Shift+F2 move container to workspace $ws12 +bindsym $mod+Shift+F1 move container to workspace $ws11 +bindsym $mod+Shift+F2 move container to workspace $ws12 +bindsym $mod+Shift+F3 move container to workspace $ws13 +bindsym $mod+Shift+F4 move container to workspace $ws14 bindsym $mod+Tab workspace next bindsym $mod+Shift+Tab workspace prev @@ -328,6 +335,7 @@ workspace $ws10 output $monitor1 workspace $ws11 output $monitor2 workspace $ws12 output $monitor2 workspace $ws13 output $monitor2 +workspace $ws14 output $monitor2 ### Locker ### diff --git a/bigg/polybar/config.ini b/bigg/polybar/config.ini index 47947a1..a1ecfde 100644 --- a/bigg/polybar/config.ini +++ b/bigg/polybar/config.ini @@ -207,13 +207,14 @@ interval = 900 [module/updates] type = custom/script exec = ~/.config/polybar/scripts/updates.sh -interval = 3600 +interval = 600 [module/uptime] type = custom/script -format-prefix = "󰅔" +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 //g;s/,.*user.*//g' +exec = uptime | sed 's/.*up //;s/,.*user.*//' | tr ' ' ' ' interval = 60 [module/mpdvol] @@ -225,6 +226,8 @@ 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 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 @@ -253,7 +256,7 @@ label-open =  [module/openvpn] type = custom/script -exec = hostname -i | sed 's#.*10\.8#10\.8#' +exec = hostname -i | sed 's#.*10\.8#10\.8#' | sed 's# 10.66.66.2*##' exec-if = pgrep -x openvpn tail = true interval = 5 @@ -366,7 +369,7 @@ label-song = %artist% - %title:0:100% label-time = %elapsed% / %total% -label-offline = mpd is offline +label-offline = 󰝚 mpd is offline icon-play =  icon-pause =  @@ -423,7 +426,7 @@ label-muted-foreground = ${colors.disabled} use-ui-max = false ; Right and Middle click -click-right = kitty -1 pulsemixer +click-right = kitty pulsemixer ; click-middle = ; Only applies if is used @@ -547,6 +550,6 @@ date-alt = %H:%M:%S label =  %date% label-foreground = ${colors.primary} -right-click = kitty -1 ikhal +right-click = kitty ikhal ; vim:ft=dosini diff --git a/bigg/tut/config.toml b/bigg/tut/config.toml index f177d95..6d2a1dc 100644 --- a/bigg/tut/config.toml +++ b/bigg/tut/config.toml @@ -509,11 +509,12 @@ top-bar-text="#FDF6E3" # The color of the bar at the bottom # default=xrdb:color5 -status-bar-background="#657B83" +status-bar-background="#FDF6E3" # The color of the text in the bar at the bottom. # default=xrdb:foreground -status-bar-text="#FDF6E3" +# status-bar-text="#FDF6E3" +status-bar-text="#657B83" # The color of the bar at the bottom in view mode. # default=xrdb:color4 @@ -531,6 +532,19 @@ list-selected-background="#900000" # default=xrdb:background list-selected-text="xrdb:background" #2F343A +autocomplete-background="#FDF6E3" +autocomplete-text="#657B83" + +# The background color for selected value in drop-downs and autocompletions +# default="" +# autocomplete-selected-background="#657B83" +autocomplete-selected-background="#FDF6E3" + +# The text color for selected value in drop-downs and autocompletions +# default="" +# autocomplete-selected-text="#FDF6E3" +autocomplete-selected-text="#657B83" + # # The xrdb prefix used for colors in .Xresources. # # default="guess"