commit 22725381cbde12d9542df42943afcce434ce6cc8
parent 53c6d60e1a9468f90401ecacb7dd854f1cc10dcc
Author: Ashymad <czilukim@o2.pl>
Date: Tue, 3 Oct 2017 08:19:28 +0200
locking added
Diffstat:
3 files changed, 4 insertions(+), 26 deletions(-)
diff --git a/.gitignore b/.gitignore
@@ -16,8 +16,9 @@
!.offlineimaprc
!.xbindkeysrc
!.emacs
-!.i3/config
+!.i3/*
!.config/astroid/*
!.config/fish/*
!.config/whipper/*
!.cmus/*
+*~
diff --git a/.i3/brightness.sh b/.i3/brightness.sh
@@ -1,7 +0,0 @@
-#!/bin/sh
-
-MON_NMB=2
-
-for i in $(seq 1 $MON_NMB); do
- while ! ddcutil -d $i setvcp 10 $1; do :; done
-done
diff --git a/.i3/config b/.i3/config
@@ -149,7 +149,7 @@ mode "resize" {
}
set $power_control "[l]ock log[o]ut [s]uspend [h]ibernate [r]eboot [p]oweroff"
mode $power_control {
- bindsym l exec ~/.i3/lock.sh; mode "default"
+ bindsym l exec xflock4; mode "default"
bindsym o exec i3-msg exit; mode "default"
bindsym s exec systemctl suspend; mode "default"
bindsym h exec systemctl hibernate; mode "default"
@@ -161,23 +161,6 @@ mode $power_control {
}
bindsym $mod+n mode $power_control
-mode "brightness" {
- bindsym grave exec ~/.i3/brightness.sh 00
- bindsym 1 exec ~/.i3/brightness.sh 10
- bindsym 2 exec ~/.i3/brightness.sh 20
- bindsym 3 exec ~/.i3/brightness.sh 30
- bindsym 4 exec ~/.i3/brightness.sh 40
- bindsym 5 exec ~/.i3/brightness.sh 50
- bindsym 6 exec ~/.i3/brightness.sh 60
- bindsym 7 exec ~/.i3/brightness.sh 70
- bindsym 8 exec ~/.i3/brightness.sh 80
- bindsym 9 exec ~/.i3/brightness.sh 90
- bindsym 0 exec ~/.i3/brightness.sh 100
-
- bindsym Return mode "default"
-}
-bindsym $mod+Shift+b mode "brightness"
-
bindsym $mod+Shift+f focus_follows_mouse no
bindsyn $mod+Alt+f focus_follows_mouse yes
@@ -206,5 +189,6 @@ for_window [instance="polybar"] gaps inner 0
exec --no-startup-id redshift-gtk
exec --no-startup-id ~/.fehbg
+exec --no-startup-id compton -b
exec_always --no-startup-id ~/.config/polybar/launch.sh
#exec --no-startup-id fish -c 'sleep 4; setxkbmap -option caps:super'