From: Jannik ZANDER Date: Thu, 5 Jul 2018 20:45:34 +0000 (+0200) Subject: i3 config update X-Git-Url: https://git.zndr.dk/?a=commitdiff_plain;h=8c4f9d797281543d742f5b47083f3b98495b9986;p=dotfiles.git i3 config update --- diff --git a/.config/i3/config b/.config/i3/config index 7efd517..4f51c21 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -49,10 +49,10 @@ bindsym $mod+Shift+$up move up bindsym $mod+Shift+$right move right # split in horizontal orientation -bindsym $mod+n split h +bindsym $mod+n split h # split in vertical orientation -bindsym $mod+v split v +bindsym $mod+v split v # enter fullscreen mode for the focused container bindsym $mod+f fullscreen toggle @@ -103,7 +103,6 @@ bindsym $mod+Shift+c reload # restart i3 inplace (preserves your layout/session, can be used to upgrade i3) bindsym $mod+Shift+r restart # exit i3 (logs you out of your X session) -# 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 'Do you really want to exit i3?' -b 'Yes, exit i3' 'gnome-session-quit --force --logout'" # resize window (you can also use the mouse for that) @@ -134,25 +133,25 @@ bar { #### Keep as much as possible from GNOME desktop # audio controls -bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 1 +5% -bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 1 -5% -bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 1 toggle +bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 1 +5% +bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 1 -5% +bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 1 toggle # screen brightness controls -bindsym XF86MonBrightnessUp exec xbacklight -inc 10 +bindsym XF86MonBrightnessUp exec xbacklight -inc 10 bindsym XF86MonBrightnessDown exec xbacklight -dec 10 # screenlock -bindsym Control+$mod+l exec gnome-screensaver-command -l +bindsym Control+$mod+l exec gnome-screensaver-command -l -#exec --no-startup-id dbus-send \ -# --session \ -# --print-reply=literal \ -# --dest=org.gnome.SessionManager \ -# "/org/gnome/SessionManager" \ -# org.gnome.SessionManager.RegisterClient \ -# "string:i3" \ -# "string:$DESKTOP_AUTOSTART_ID" +exec --no-startup-id dbus-send \ + --session \ + --print-reply=literal \ + --dest=org.gnome.SessionManager \ + "/org/gnome/SessionManager" \ + org.gnome.SessionManager.RegisterClient \ + "string:i3" \ + "string:$DESKTOP_AUTOSTART_ID" # custom settings exec --no-startup-id gnome-session # GNOME session @@ -161,7 +160,7 @@ exec --no-startup-id gnome-screensaver # GNOME screensaver exec --no-startup-id xautolock -time 10 -locker 'gnome-screensaver-command -l' # background image -exec --no-startup-id feh --bg-fill /usr/share/backgrounds/gnome/Wood.jpg +exec --no-startup-id feh --bg-center ~/Download/music.jpg ####################################################################### # automatically start i3-config-wizard to offer the user to create a