Started organizing i3 config file, added the i3lock.py as default lock, added nextcloud to autostart(properly)

clean_emacs
TuDatTr 2017-12-21 00:28:05 +01:00
parent d42ae07b8f
commit e300791687
1 changed files with 22 additions and 15 deletions

View File

@ -1,8 +1,23 @@
# i3 config file (v4)
#######################
### System Settings ###
#######################
# Set mod key (Mod1=<Alt>, Mod4=<Super>)
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 <normal|1pixel|pixel xx|none|pixel>
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: