fix: i3 control for mpd
This commit is contained in:
parent
e5bbfaa082
commit
1ae08204a4
1 changed files with 27 additions and 29 deletions
|
@ -65,19 +65,19 @@ font pango:monospace 12
|
||||||
|
|
||||||
# Start i3bar to display a workspace bar (plus the system information i3status
|
# Start i3bar to display a workspace bar (plus the system information i3status
|
||||||
# finds out, if available)
|
# finds out, if available)
|
||||||
bar {
|
#bar {
|
||||||
height 20
|
# height 20
|
||||||
tray_output HDMI-1
|
# tray_output HDMI-1
|
||||||
colors {
|
# colors {
|
||||||
background $bg-color
|
# background $bg-color
|
||||||
separator $separator-color
|
# separator $separator-color
|
||||||
# border background text
|
# # border background text
|
||||||
focused_workspace $bg-color $bg-color $text-color
|
# focused_workspace $bg-color $bg-color $text-color
|
||||||
inactive_workspace $inactive-bg-color $inactive-bg-color $inactive-text-color
|
# inactive_workspace $inactive-bg-color $inactive-bg-color $inactive-text-color
|
||||||
urgent_workspace $urgent-bg-color $urgent-bg-color $text-color
|
# urgent_workspace $urgent-bg-color $urgent-bg-color $text-color
|
||||||
}
|
# }
|
||||||
status_command i3status -c ~/.config/i3/i3status.config
|
# status_command i3blocks # i3status -c ~/.config/i3statusconfig
|
||||||
}
|
#}
|
||||||
|
|
||||||
### MODES
|
### MODES
|
||||||
|
|
||||||
|
@ -116,6 +116,7 @@ mode "$mode_refresh_rate" {
|
||||||
bindsym $mod+Return exec alacritty
|
bindsym $mod+Return exec alacritty
|
||||||
bindsym $mod+Shift+q kill
|
bindsym $mod+Shift+q kill
|
||||||
bindsym $mod+d exec --no-startup-id rofi -show
|
bindsym $mod+d exec --no-startup-id rofi -show
|
||||||
|
bindsym $mod+p exec --no-startup-id rofi-pass
|
||||||
|
|
||||||
bindsym $mod+Left focus left
|
bindsym $mod+Left focus left
|
||||||
bindsym $mod+Down focus down
|
bindsym $mod+Down focus down
|
||||||
|
@ -171,29 +172,26 @@ bindsym $mod+Shift+c reload
|
||||||
bindsym $mod+Shift+r restart
|
bindsym $mod+Shift+r restart
|
||||||
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'"
|
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'"
|
||||||
|
|
||||||
bindsym --release $mod+Print exec "import /tmp/screenshot.png"
|
bindsym --release $mod+Print exec "import /tmp/screenshot.png && xclip -t image/png /tmp/screenshot.png -selection clipboard"
|
||||||
|
|
||||||
# Enter Mode
|
# Enter Mode
|
||||||
bindsym $mod+r mode "resize"
|
bindsym $mod+r mode "resize"
|
||||||
bindsym $mod+Pause mode "$mode_system"
|
bindsym $mod+Pause mode "$mode_system"
|
||||||
bindsym $mod+m mode "$mode_refresh_rate"
|
bindsym $mod+m mode "$mode_refresh_rate"
|
||||||
|
|
||||||
# Pulse Audio controls
|
bindsym XF86AudioPlay exec --no-startup-id mpc toggle
|
||||||
#bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +5% #increase sound volume
|
bindsym XF86AudioPause exec --no-startup-id mpc pause
|
||||||
#bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5% #decrease sound volume
|
bindsym XF86AudioNext exec --no-startup-id mpc next
|
||||||
#bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle # mute sound
|
bindsym XF86AudioPrev exec --no-startup-id mpc prev
|
||||||
|
bindsym XF86AudioRaiseVolume exec --no-startup-id mpc volume +1
|
||||||
# Media player controls
|
bindsym XF86AudioLowerVolume exec --no-startup-id mpc volume -1
|
||||||
bindsym XF86AudioPlay exec playerctl play-pause
|
#bindsym XF86AudioMute exec --no-startup-id mpc toggleoutput
|
||||||
bindsym XF86AudioPause exec playerctl pause
|
|
||||||
bindsym XF86AudioNext exec playerctl next
|
|
||||||
bindsym XF86AudioPrev exec playerctl previous
|
|
||||||
|
|
||||||
### i3 gaps
|
### i3 gaps
|
||||||
|
|
||||||
gaps outer 0
|
|
||||||
gaps inner 5
|
|
||||||
smart_gaps on
|
smart_gaps on
|
||||||
|
gaps inner 10
|
||||||
|
gaps outer -10
|
||||||
|
|
||||||
### Launchers
|
### Launchers
|
||||||
|
|
||||||
|
@ -212,10 +210,10 @@ exec sleep 8; riot-desktop
|
||||||
exec ckb-next -b
|
exec ckb-next -b
|
||||||
exec steam-runtime -silent -tcp
|
exec steam-runtime -silent -tcp
|
||||||
exec transmission-gtk -m
|
exec transmission-gtk -m
|
||||||
#exec obs --startreplaybuffer --minimize-to-tray
|
|
||||||
|
|
||||||
# Wallpaper
|
# Eyecandy
|
||||||
exec_always feh --bg-fill ~/Pictures/Wallpaper/active_wallpaper
|
exec_always --no-startup-id $HOME/.config/polybar/launch.sh
|
||||||
|
exec_always --no-startup-id feh --bg-fill ~/Pictures/wallpaper/active_wallpaper
|
||||||
|
|
||||||
exec conky --daemonize --config="$HOME/.config/conky/clock.conf"
|
exec conky --daemonize --config="$HOME/.config/conky/clock.conf"
|
||||||
exec conky --daemonize --config="$HOME/.config/conky/cpu_ram_storage.conf"
|
exec conky --daemonize --config="$HOME/.config/conky/cpu_ram_storage.conf"
|
||||||
|
|
Loading…
Reference in a new issue