diff options
| -rw-r--r-- | .config/i3/config##desktop.Linux.Lowe | 8 | ||||
| -rw-r--r-- | .config/polybar/config##desktop.Linux.Lowe | 32 |
2 files changed, 26 insertions, 14 deletions
diff --git a/.config/i3/config##desktop.Linux.Lowe b/.config/i3/config##desktop.Linux.Lowe index 53d9d53..6e0bc8a 100644 --- a/.config/i3/config##desktop.Linux.Lowe +++ b/.config/i3/config##desktop.Linux.Lowe | |||
| @@ -21,7 +21,7 @@ font pango:Lato 11 | |||
| 21 | floating_modifier $alt | 21 | floating_modifier $alt |
| 22 | 22 | ||
| 23 | gaps inner 10 | 23 | gaps inner 10 |
| 24 | gaps outer 10 | 24 | gaps outer 0 |
| 25 | 25 | ||
| 26 | ############## | 26 | ############## |
| 27 | # bindings # | 27 | # bindings # |
| @@ -52,9 +52,9 @@ bindsym Print exec flameshot gui | |||
| 52 | bindsym XF86AudioRaiseVolume exec --no-startup-id "amixer set Master 2%+ && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" | 52 | bindsym XF86AudioRaiseVolume exec --no-startup-id "amixer set Master 2%+ && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" |
| 53 | bindsym XF86AudioLowerVolume exec --no-startup-id "amixer set Master 2%- && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" | 53 | bindsym XF86AudioLowerVolume exec --no-startup-id "amixer set Master 2%- && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" |
| 54 | bindsym XF86AudioMute exec --no-startup-id "amixer set Master toggle && if amixer get Master | grep -Fq '[off]'; then volnoti-show -m; else volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1); fi" | 54 | bindsym XF86AudioMute exec --no-startup-id "amixer set Master toggle && if amixer get Master | grep -Fq '[off]'; then volnoti-show -m; else volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1); fi" |
| 55 | bindsym XF86AudioPlay exec mpc toggle | 55 | bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause |
| 56 | bindsym XF86AudioPrev exec /home/yigit/bin/mpcPrevSong.sh | 56 | bindsym XF86AudioPrev exec --no-startup-id playerctl previous |
| 57 | bindsym XF86AudioNext exec mpc next | 57 | bindsym XF86AudioNext exec --no-startup-id playerctl next |
| 58 | 58 | ||
| 59 | # Make the currently focused window a scratchpad | 59 | # Make the currently focused window a scratchpad |
| 60 | bindsym $mod+Shift+minus move scratchpad | 60 | bindsym $mod+Shift+minus move scratchpad |
diff --git a/.config/polybar/config##desktop.Linux.Lowe b/.config/polybar/config##desktop.Linux.Lowe index 4cc63d7..9251210 100644 --- a/.config/polybar/config##desktop.Linux.Lowe +++ b/.config/polybar/config##desktop.Linux.Lowe | |||
| @@ -52,7 +52,7 @@ font-1 = Lato:size=10;1 | |||
| 52 | font-2 = Raleway:size=10;1 | 52 | font-2 = Raleway:size=10;1 |
| 53 | font-3 = FuraCode Nerd Font:size=11;2 | 53 | font-3 = FuraCode Nerd Font:size=11;2 |
| 54 | 54 | ||
| 55 | modules-left = i3 pulseaudio | 55 | modules-left = i3 pulseaudio spotify |
| 56 | modules-center = xwindow | 56 | modules-center = xwindow |
| 57 | modules-right = focus date time xkeyboard | 57 | modules-right = focus date time xkeyboard |
| 58 | 58 | ||
| @@ -63,17 +63,29 @@ type = custom/script | |||
| 63 | exec = ~/.config/polybar/focus | 63 | exec = ~/.config/polybar/focus |
| 64 | interval = 10 | 64 | interval = 10 |
| 65 | 65 | ||
| 66 | format-online = <toggle> <label-song> <icon-random> | 66 | [module/spotify] |
| 67 | label-song = %artist:0:24:...% - %title:0:24:...% | 67 | type = custom/script |
| 68 | icon-pause = | 68 | interval = 1 |
| 69 | icon-play = | 69 | ; format-prefix = "" |
| 70 | icon-random = 咽 | 70 | format = <label> |
| 71 | exec = python ./spotify_status.py -f '{play_pause} {artist} - {song}' -p 'playing,paused' | ||
| 72 | |||
| 73 | ; [module/dpmpd] | ||
| 74 | ; type = internal/mpd | ||
| 75 | ; host = 127.0.0.1 | ||
| 76 | ; port = 6600 | ||
| 77 | |||
| 78 | ; format-online = <toggle> <label-song> <icon-random> | ||
| 79 | ; label-song = %artist:0:24:...% - %title:0:24:...% | ||
| 80 | ; icon-pause = | ||
| 81 | ; icon-play = | ||
| 82 | ; icon-random = 咽 | ||
| 71 | 83 | ||
| 72 | toggle-on-foreground = ${colors.background_modules} | 84 | ; toggle-on-foreground = ${colors.background_modules} |
| 73 | toggle-off-foreground = ${colors.foreground_modules} | 85 | ; toggle-off-foreground = ${colors.foreground_modules} |
| 74 | 86 | ||
| 75 | format-offline = <label-offline> | 87 | ; format-offline = <label-offline> |
| 76 | label-offline = mpd is offline | 88 | ; label-offline = mpd is offline |
| 77 | 89 | ||
| 78 | [module/xwindow] | 90 | [module/xwindow] |
| 79 | type = internal/xwindow | 91 | type = internal/xwindow |
