diff --git a/.SpaceVim.d/init.toml b/.SpaceVim.d/init.toml index 800e6c8..316881e 100644 --- a/.SpaceVim.d/init.toml +++ b/.SpaceVim.d/init.toml @@ -31,6 +31,7 @@ filetree_direction = "left" enable_filetree_gitstatus = true + filemanager = "nerdtree" # Enable autocomplete layer diff --git a/.config/i3/config b/.config/i3/config index 78eab70..8fc2ed5 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -5,7 +5,7 @@ set $mod Mod4 # workspace_layout tabbed # Configure border style -new_window pixel 1 +new_window pixel 2 new_float normal # Hide borders @@ -100,11 +100,11 @@ bindsym XF86AudioMute exec "pamixer -t" bindsym $mod+XF86AudioMute exec "pactl set-source-mute @DEFAULT_SOURCE@ toggle" # media controls -bindsym XF86AudioPlay exec "playerctl play-pause" -bindsym $mod+XF86AudioRaiseVolume exec "playerctl next" -bindsym $mod+XF86AudioLowerVolume exec "playerctl previous" -bindsym XF86AudioNext exec "playerctl next" -bindsym XF86AudioPrevious exec "playerctl previous" +bindsym XF86AudioPlay exec playerctl play-pause +bindsym $mod+XF86AudioRaiseVolume exec playerctl next +bindsym $mod+XF86AudioLowerVolume exec playerctl previous +bindsym XF86AudioNext exec playerctl next +bindsym XF86AudioPrevious exec playerctl previous # misc keyboard keys bindsym XF86Calculator exec --no-startup-id qalculate-gtk @@ -170,6 +170,8 @@ bindsym $mod+q split toggle # toggle fullscreen mode for the focused container bindsym $mod+f fullscreen toggle +bindsym $mod+Shift+y fullscreen disable; floating enable; resize set 640 480; sticky enable; move window to position 1270 590 + # change container layout (stacked, tabbed, toggle split) bindsym $mod+s layout stacking @@ -296,19 +298,22 @@ 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'" # Set shut down, restart and locking features -bindsym $mod+0 mode "$mode_system" -set $mode_system (l)ock, (e)xit, switch_(u)ser, (s)uspend, (h)ibernate, (r)eboot, (Shift+s)hutdown -mode "$mode_system" { - bindsym l exec --no-startup-id light-locker-command -l - bindsym h exec --no-startup-id systemctl hibernate - bindsym r exec --no-startup-id reboot - bindsym s exec --no-startup-id systemctl suspend - bindsym Shift+s exec --no-startup-id shutdown now +bindsym $mod+Shift+Ctrl+Alt+h exec --no-startup-id systemctl hibernate +bindsym $mod+Shift+Ctrl+Alt+s exec --no-startup-id systemctl suspend - # exit system mode: "Enter" or "Escape" - bindsym Return mode "default" - bindsym Escape mode "default" -} +#bindsym $mod+0 mode "$mode_system" +#set $mode_system (l)ock, (e)xit, switch_(u)ser, (s)uspend, (h)ibernate, (r)eboot, (Shift+s)hutdown +#mode "$mode_system" { +# bindsym l exec --no-startup-id light-locker-command -l +# bindsym h exec --no-startup-id systemctl hibernate +# bindsym r exec --no-startup-id reboot +# bindsym s exec --no-startup-id systemctl suspend +# bindsym Shift+s exec --no-startup-id shutdown now +# +# # exit system mode: "Enter" or "Escape" +# bindsym Return mode "default" +# bindsym Escape mode "default" +#} # Resize window (you can also use the mouse for that) bindsym $mod+r mode "resize"