From e30079168776c062482493805bbacc9dd6fbf547 Mon Sep 17 00:00:00 2001 From: TuDatTr Date: Thu, 21 Dec 2017 00:28:05 +0100 Subject: [PATCH] Started organizing i3 config file, added the i3lock.py as default lock, added nextcloud to autostart(properly) --- .config/i3/config | 37 ++++++++++++++++++++++--------------- 1 file changed, 22 insertions(+), 15 deletions(-) diff --git a/.config/i3/config b/.config/i3/config index 7ef9fee..20f26c3 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -1,8 +1,23 @@ # i3 config file (v4) +####################### +### System Settings ### +####################### + # Set mod key (Mod1=, Mod4=) set $mod Mod4 +# Use Mouse+$mod to drag floating windows +floating_modifier $mod + +# Font for window titles. Will also be used by the bar unless a different font +# is used in the bar {} block below. +font xft:Noto Sans 10 + +####################### +### Window Settings ### +####################### + # Configure border style new_window pixel 1 new_float normal @@ -15,15 +30,8 @@ bindsym $mod+u border none bindsym $mod+y border pixel 1 bindsym $mod+n border normal -# Font for window titles. Will also be used by the bar unless a different font -# is used in the bar {} block below. -font xft:Noto Sans 10 - -# Use Mouse+$mod to drag floating windows -floating_modifier $mod - # start a terminal -bindsym $mod+Return exec termite +bindsym $mod+Return exec terminal # kill focused window bindsym $mod+Shift+q kill @@ -47,16 +55,15 @@ bindsym $mod+Ctrl+m exec terminal -e 'alsamixer' ################################################################################################ # Screen brightness controls -# bindsym XF86MonBrightnessUp exec "xbacklight -inc 10; notify-send 'brightness up'" -# bindsym XF86MonBrightnessDown exec "xbacklight -dec 10; notify-send 'brightness down'" +bindsym XF86MonBrightnessUp exec "xbacklight -inc 10; notify-send 'brightness up'" +bindsym XF86MonBrightnessDown exec "xbacklight -dec 10; notify-send 'brightness down'" # Application Shortcuts -bindsym $mod+Ctrl+b exec terminal -e 'bmenu' bindsym $mod+F2 exec firefox bindsym $mod+F3 exec pcmanfm bindsym $mod+Shift+F3 exec gksu pcmanfm bindsym $mod+F5 exec terminal -e 'mocp' -bindsym $mod+t exec --no-startup-id pkill compton +# bindsym $mod+t exec --no-startup-id pkill compton bindsym $mod+Ctrl+t exec --no-startup-id compton -b bindsym $mod+Shift+d --release exec "killall dunst; exec notify-send 'restart dunst'" bindsym Print exec --no-startup-id i3-scrot @@ -220,7 +227,7 @@ bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcu 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 "python ~/.scripts/i3lock.py" + bindsym l exec --no-startup-id "python ~/.scripts/i3lock.py", mode "default" bindsym s exec --no-startup-id i3exit suspend, mode "default" bindsym u exec --no-startup-id i3exit switch_user, mode "default" bindsym e exec --no-startup-id i3exit logout, mode "default" @@ -266,12 +273,12 @@ exec --no-startup-id nitrogen --restore; sleep 1; compton -b exec --no-startup-id nm-applet exec --no-startup-id xfce4-power-manager exec --no-startup-id pamac-tray -exec --no-startup-id clipit +#609exec --no-startup-id clipit exec --no-startup-id start_conky_maia exec --no-startup-id xautolock -time 10 -locker "python ~/.scripts/i3lock.py" exec_always --no-startup-id ff-theme-util exec_always --no-startup-id fix_xcursor -exec --no-startup-id "~/.scripts/nextcloud.AppImage" +exec --no-startup-id nextcloud # Color palette used for the terminal ( ~/.extend.Xresources file ) # Colors are gathered based on the documentation: