Centralization

This commit is contained in:
2018-04-05 12:34:27 +02:00
parent 2b1789d8fc
commit 8bad08aa4e
11 changed files with 209 additions and 4 deletions

View File

@ -20,11 +20,15 @@
# Define names for default workspaces for which we configure key bindings later on.
# We use variables to avoid repeating the names in multiple places.
set $ws1 "1"
set $ws2 "2"
set $ws3 "3"
# Browser
set $ws1 "1 "
# Terminal
set $ws2 "2 "
# Work
set $ws3 "3 "
set $ws4 "4"
set $ws5 "5"
# Mail
set $ws5 "5 "
set $ws6 "6"
set $ws7 "7"
set $ws8 "8"
@ -132,6 +136,9 @@ floating_modifier $mod
# UNBIND F1
bindsym F1 exec --no-startup-id echo > /dev/null
# Urgent window
bindsym $mod+x [urgent=latest] focus
# MEDIA KEYS
bindsym XF86AudioRaiseVolume exec --no-startup-id amixer set Master 2%+
@ -142,6 +149,13 @@ floating_modifier $mod
bindsym XF86AudioPrev exec --no-startup-id playerctl previous
bindsym XF86AudioStop exec --no-startup-id playerctl stop
# Screensaver || ThinkVantage
bindsym XF86ScreenSaver exec xscreensaver-command -lock
bindsym XF86Launch1 exec "xscreensaver-command -lock; sleep 1; xset dpms force off"
# Screenshot
bindsym Print exec ~/.config/i3/scripts/screenshot.sh
# {{{ RESIZE MODE }}}
mode "resize" {
@ -199,6 +213,26 @@ bar {
default_border none
default_floating_border normal
# {{{ WORKSPACES }}}
# Browser
workspace $ws1 gaps outer 0
workspace $ws1 gaps inner 0
assign [class="Firefox"] $ws1
# Terminal
assign [class="URxvt"] $ws2
# Mail
workspace $ws5 gaps outer 0
workspace $ws5 gaps inner 0
assign [class="Thunderbird"] $ws5
# KeepassXC
assign [class="keepassxc"] $ws10
# {{{ KEYBOARD MAP }}}
exec_always setxkbmap de

1
i3/i3 Symbolic link
View File

@ -0,0 +1 @@
/home/rad4day/.dotfiles/i3

Binary file not shown.

2
i3/scripts/screenshot.sh Executable file
View File

@ -0,0 +1,2 @@
#!/bin/bash
xfce4-screenshooter -o "/usr/bin/xclip -i -t image/png -selection clipboard" -r