Move i3 un-specific to xinitrc

This commit is contained in:
CramMK
2020-02-17 14:38:41 +01:00
parent 653a1ba555
commit b29d2015e1
3 changed files with 13 additions and 18 deletions

Submodule dotdrop updated: b56e8ea00b...fb071321e9

View File

@@ -203,9 +203,7 @@ client.urgent #2f343a #900000 #ffffff #900000 #900000
client.background #ffffff client.background #ffffff
# Keyboard lauyout shortcuts # Keyboard lauyout shortcuts
exec setxkbmap -layout us bindsym Ctrl+Shift+1 exec --no-startup-id setxkbmap za
bindsym Ctrl+Shift+1 exec --no-startup-id setxkbmap us
bindsym Ctrl+Shift+2 exec --no-startup-id setxkbmap de
# Remove title bar # Remove title bar
new_window 1pixel new_window 1pixel
@@ -217,20 +215,12 @@ bindsym --release $mod+Shift+p exec"import ~/Screenshot-$(date '+%Y%m%d-%H%M%S')
bindsym XF86MonBrightnessUp exec xbacklight -inc 20 # increase screen brightness bindsym XF86MonBrightnessUp exec xbacklight -inc 20 # increase screen brightness
bindsym XF86MonBrightnessDown exec xbacklight -dec 20 # decrease screen brightness bindsym XF86MonBrightnessDown exec xbacklight -dec 20 # decrease screen brightness
# Background
exec --no-startup-id picom
# PC specific configurations: # PC specific configurations:
{%@@ if profile == "work" @@%} {%@@ if profile == "work" @@%}
# Locking # Locking
bindsym $mod+Shift+b exec "xlock -mode matrix -startCmd /share/bin/isweg -endCmd /share/bin/isda -bg '#6843bf' -info ''" bindsym $mod+Shift+b exec "xlock -mode matrix -startCmd /share/bin/isweg -endCmd /share/bin/isda -bg '#6843bf' -info ''"
# Wallpaper
exec --no-startup-id feh --bg-scale ~/.wallpaper/wallpaper_genuaW.png
# Custom Workspaces # Custom Workspaces
exec --no-startup-id "xterm"
exec --no-startup-id "firefox" exec --no-startup-id "firefox"
for_window [class="Firefox"] move container to workspace 9 for_window [class="Firefox"] move container to workspace 9
@@ -253,10 +243,6 @@ bindsym $mod+Ctrl+2 move workspace to output $monitor2
# Locking # Locking
bindsym $mod+Shift+b exec "xlock -mode matrix -info ''" bindsym $mod+Shift+b exec "xlock -mode matrix -info ''"
# Wallpaper
exec --no-startup-id feh --bg-scale ~/.wallpaper/wallpaper.png
# Custom Workspaces # Custom Workspaces
exec --no-startup-id "firefox" exec --no-startup-id "firefox"

View File

@@ -1,7 +1,10 @@
export TERM="xterm-256color" export TERM="xterm-256color"
xrdb -load $HOME/.Xresources xrdb -load $HOME/.Xresources
export SHELL="/bin/zsh" export SHELL="/bin/zsh"
setxkbmap -layout us
setxkbmap -layout za
picom &
export LANG="en_US.UTF-8" export LANG="en_US.UTF-8"
export LANGUAGE="en_US.UTF-8" export LANGUAGE="en_US.UTF-8"
@@ -10,5 +13,11 @@ export LANGUAGE="en_US.UTF-8"
/share/bin/isda /share/bin/isda
~/bin/.keyboard.scm & ~/bin/.keyboard.scm &
xrandr --output HDMI-2 --auto --right-of HDMI-1 xrandr --output HDMI-2 --auto --right-of HDMI-1
exec i3 feh --bg-scale ~/.wallpaper/wallpaper_genuaW.png
i3
{%@@ endif @@%}
{%@@ if profile == "laptop" @@%}
feh --bg-scale ~/.wallpaper/wallpaper.png
i3
{%@@ endif @@%} {%@@ endif @@%}