X-Git-Url: https://git.sev.monster/~sev/dotfiles.git/blobdiff_plain/d9362f346f3609007060bdec8ab6691a5537b0ad..09bd7172c102a060fdc33aabb184cec750190fe5:/xdg/i3/config diff --git a/xdg/i3/config b/xdg/i3/config index d37b5d7..a37e72e 100644 --- a/xdg/i3/config +++ b/xdg/i3/config @@ -121,9 +121,6 @@ bindsym $mod+Shift+8 move container to workspace 8 bindsym $mod+Shift+9 move container to workspace 9 Bindsym $mod+Shift+0 move container to workspace 10 -# rename current window -bindsym $mod+t --no-startup-id xrename - # reload the configuration file bindsym $mod+Shift+c reload # restart i3 inplace @@ -135,45 +132,46 @@ bindsym $mod+Shift+e exec --no-startup-id i3-nagbar -t warning -m Exit? -b Yes ' bindcode 198 exec --no-startup-id rotate set normal bindcode 204 exec --no-startup-id rotate right -# volume buttons -bindsym XF86AudioMute exec --no-startup-id mixer vol 0 -bindsym XF86AudioLowerVolume exec --no-startup-id mixer vol -5 -bindsym XF86AudioRaiseVolume exec --no-startup-id mixer vol +5 +# mpc +bindsym XF86AudioPlay exec --no-startup-id mpc -h /var/mpd/socket play +bindsym XF86AudioStop exec --no-startup-id mpc -h /var/mpd/socket pause +bindsym XF86AudioPrev exec --no-startup-id mpc -h /var/mpd/socket cdprev +bindsym XF86AudioNext exec --no-startup-id mpc -h /var/mpd/socket next # move and resize [floating] windows mode "translate" { - bindsym $left resize shrink width 20 px - bindsym $down resize grow height 20 px - bindsym $up resize shrink height 20 px - bindsym $right resize grow width 20 px + bindsym $left resize shrink width 20 px + bindsym $down resize grow height 20 px + bindsym $up resize shrink height 20 px + bindsym $right resize grow width 20 px bindsym $left2 resize shrink width 20 px bindsym $down2 resize grow height 20 px bindsym $up2 resize shrink height 20 px bindsym $right2 resize grow width 20 px - bindsym Shift+$left move left 20 px - bindsym Shift+$down move down 20 px - bindsym Shift+$up move up 20 px - bindsym Shift+$right move right 20 px + bindsym Shift+$left move left 20 px + bindsym Shift+$down move down 20 px + bindsym Shift+$up move up 20 px + bindsym Shift+$right move right 20 px bindsym Shift+$left2 move left 20 px bindsym Shift+$down2 move down 20 px bindsym Shift+$up2 move up 20 px bindsym Shift+$right2 move right 20 px # smaller movements - bindsym Control+$left resize shrink width 1 px or 1 ppt - bindsym Control+$down resize grow height 1 px or 1 ppt - bindsym Control+$up resize shrink height 1 px or 1 ppt - bindsym Control+$right resize grow width 1 px or 1 ppt + bindsym Control+$left resize shrink width 1 px or 1 ppt + bindsym Control+$down resize grow height 1 px or 1 ppt + bindsym Control+$up resize shrink height 1 px or 1 ppt + bindsym Control+$right resize grow width 1 px or 1 ppt bindsym Control+$left2 resize shrink width 1 px or 1 ppt bindsym Control+$down2 resize grow height 1 px or 1 ppt bindsym Control+$up2 resize shrink height 1 px or 1 ppt bindsym Control+$right2 resize grow width 1 px or 1 ppt - bindsym Control+Shift+$left move left 1 px - bindsym Control+Shift+$down move down 1 px - bindsym Control+Shift+$up move up 1 px - bindsym Control+Shift+$right move right 1 px + bindsym Control+Shift+$left move left 1 px + bindsym Control+Shift+$down move down 1 px + bindsym Control+Shift+$up move up 1 px + bindsym Control+Shift+$right move right 1 px bindsym Control+Shift+$left2 move left 1 px bindsym Control+Shift+$down2 move down 1 px bindsym Control+Shift+$up2 move up 1 px @@ -192,15 +190,18 @@ mode "translate" { bindsym $mod+z focus child # back to normal: Enter, Escape, or original key - bindsym return mode default - bindsym escape mode default + bindsym Return mode default + bindsym Escape mode default bindsym $mod+r mode default } bindsym $mod+r mode "translate" +# windows +for_window [class="Gsimplecal"] floating enable +for_window [class="XMixer"] floating enable + # borders hide_edge_borders smart -#new_window normal 1 new_window pixel 1 gaps inner 6 smart_gaps on @@ -214,27 +215,27 @@ force_display_urgency_hint 2000 ms set $focused #cc6600 #aa5500 #eee8d5 #4466ff #cc6600 set $inactive #884400 #221100 #93a1a1 #264bd2 #884400 set $urgent #ff4444 #dc322f #000000 #4466ff #ff4444 -set $blue #4466ff #264bd2 #fdf6e3 #264db2 #4466ff - -bar { - position top - tray_output primary - status_command i3status - separator_symbol "|" - - colors { - background #110800 - statusline #93a1a1 - separator #268bd2 - - # class border backgr. text - focused_workspace $focused - active_workspace $inactive - inactive_workspace $inactive - urgent_workspace $urgent - binding_mode $blue - } -} +set $blue #4466ff #268bd2 #fdf6e3 #264db2 #4466ff + +#bar { +# position top +# tray_output primary +# status_command i3status +# separator_symbol "|" +# +# colors { +# background #110800 +# statusline #93a1a1 +# separator #268bd2 +# +# # class border backgr. text +# focused_workspace $focused +# active_workspace $inactive +# inactive_workspace $inactive +# urgent_workspace $urgent +# binding_mode $blue +# } +#} # colors # class border backgr. text indicator child_border