i3: scripte
This commit is contained in:
parent
b12eefbbe6
commit
8d4cd65fc0
5 changed files with 15 additions and 7 deletions
16
i3/config
16
i3/config
|
@ -1,20 +1,22 @@
|
||||||
# i3 config file (v4)
|
# i3 config file (v4)
|
||||||
#
|
|
||||||
# Please see https://i3wm.org/docs/userguide.html for a complete reference!
|
|
||||||
|
|
||||||
#Super/Windows-Taste
|
#Super/Windows-Taste
|
||||||
set $mod1 Mod4
|
set $mod1 Mod4
|
||||||
#alt-Taste
|
#alt-Taste
|
||||||
set $mod2 Mod1
|
set $mod2 Mod1
|
||||||
|
|
||||||
# Font for window titles. Will also be used by the bar unless a different font
|
# Font for window titles. Will also be used by the bar unless a different font is used in the bar {} block below.
|
||||||
# is used in the bar {} block below.
|
|
||||||
font pango:monospace 8
|
font pango:monospace 8
|
||||||
|
|
||||||
# execute lockscreen.sh; sperrt rechner nach x min
|
# execute lockscreen.sh; sperrt rechner nach x min
|
||||||
exec_always --no-startup-id /home/mg/dotfiles/i3/lockscreen.sh
|
exec_always --no-startup-id /home/mg/dotfiles/i3/scripte/lockscreen.sh
|
||||||
|
|
||||||
# enter lockscreen manually
|
# enter lockscreen manually
|
||||||
bindsym $mod1+l exec xset dpms force off && i3lock --ignore-empty-password --color 000000
|
bindsym $mod1+l exec --no-startup-id /home/mg/dotfiles/i3/scripte/lock.sh
|
||||||
|
|
||||||
|
# dimm screen
|
||||||
|
exec_always --no-startup-id /home/mg/dotfiles/i3/scripte/dimming.sh
|
||||||
|
|
||||||
|
|
||||||
# NetworkManager is the most popular way to manage wireless networks on Linux,
|
# NetworkManager is the most popular way to manage wireless networks on Linux,
|
||||||
# and nm-applet is a desktop environment-independent system tray GUI for it.
|
# and nm-applet is a desktop environment-independent system tray GUI for it.
|
||||||
|
@ -41,7 +43,7 @@ bindsym $mod2+F4 kill
|
||||||
bindsym $mod1+Shift+q kill
|
bindsym $mod1+Shift+q kill
|
||||||
|
|
||||||
# start rofi
|
# start rofi
|
||||||
bindsym $mod1+d exec --no-startup-id rofi -combi-modi window#drun#ssh -show combi
|
bindsym $mod1+d exec --no-startup-id /home/mg/dotfiles/i3/scripte/start_rofi.sh
|
||||||
|
|
||||||
# screenshots
|
# screenshots
|
||||||
bindsym $mod1+p exec --no-startup-id flameshot full -p /home/mg -c
|
bindsym $mod1+p exec --no-startup-id flameshot full -p /home/mg -c
|
||||||
|
|
2
i3/scripte/dimming.sh
Normal file
2
i3/scripte/dimming.sh
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/bash
|
||||||
|
xautolock -detectsleep -time 5 -locker "brightnessctl set 25%"
|
2
i3/scripte/lock.sh
Normal file
2
i3/scripte/lock.sh
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/bash
|
||||||
|
xset dpms force off && i3lock --ignore-empty-password --color 000000
|
0
i3/lockscreen.sh → i3/scripte/lockscreen.sh
Executable file → Normal file
0
i3/lockscreen.sh → i3/scripte/lockscreen.sh
Executable file → Normal file
2
i3/scripte/start_rofi.sh
Normal file
2
i3/scripte/start_rofi.sh
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/bash
|
||||||
|
rofi -combi-modi window,drun,ssh -show combi
|
Loading…
Reference in a new issue