From dae415f8afe0e0c7b19fe493eeccf4694162c144 Mon Sep 17 00:00:00 2001 From: CramMK Date: Sat, 22 Feb 2020 00:51:27 +0100 Subject: [PATCH] Fix i3 for laptop --- dotfiles/i3_config | 11 ++++++++--- dotfiles/xinitrc | 8 +------- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/dotfiles/i3_config b/dotfiles/i3_config index 3a695fb..74d5d78 100644 --- a/dotfiles/i3_config +++ b/dotfiles/i3_config @@ -202,9 +202,14 @@ client.unfocused #333333 #222222 #888888 #292d2e #222222 client.urgent #2f343a #900000 #ffffff #900000 #900000 client.background #ffffff -# Keyboard lauyout shortcuts +# Keyboard lauyout +exec --no-startup-id setxkbmap za bindsym Ctrl+Shift+1 exec --no-startup-id setxkbmap za +# Background +exec --no-startup-id picom +exec --no-startup-id feh --bg-scale ~/.wallpaper/wallpaper.png + # Remove title bar new_window 1pixel @@ -244,7 +249,7 @@ bindsym $mod+Ctrl+2 move workspace to output $monitor2 bindsym $mod+Shift+b exec "xlock -mode matrix -info ''" # Custom Workspaces -exec --no-startup-id "firefox" +exec --no-startup-id "chromium-browser" -for_window [class="Firefox"] move container to workspace 9 +for_window [class="Chromium"] move container to workspace 9 {%@@ endif @@%} diff --git a/dotfiles/xinitrc b/dotfiles/xinitrc index f48d9e0..b1581b2 100755 --- a/dotfiles/xinitrc +++ b/dotfiles/xinitrc @@ -4,8 +4,6 @@ export SHELL="/bin/zsh" setxkbmap -layout za -picom & - export LANG="en_US.UTF-8" export LANGUAGE="en_US.UTF-8" @@ -14,10 +12,6 @@ export LANGUAGE="en_US.UTF-8" ~/bin/.keyboard.scm & xrandr --output HDMI-2 --auto --right-of HDMI-1 feh --bg-scale ~/.wallpaper/wallpaper_genua.png -i3 -{%@@ endif @@%} - -{%@@ if profile == "laptop" @@%} -feh --bg-scale ~/.wallpaper/wallpaper.png +picom & i3 {%@@ endif @@%}