Fix i3 for laptop

This commit is contained in:
CramMK
2020-02-22 00:51:27 +01:00
parent 6dca437f25
commit dae415f8af
2 changed files with 9 additions and 10 deletions

View File

@@ -202,9 +202,14 @@ client.unfocused #333333 #222222 #888888 #292d2e #222222
client.urgent #2f343a #900000 #ffffff #900000 #900000 client.urgent #2f343a #900000 #ffffff #900000 #900000
client.background #ffffff client.background #ffffff
# Keyboard lauyout shortcuts # Keyboard lauyout
exec --no-startup-id setxkbmap za
bindsym Ctrl+Shift+1 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 # Remove title bar
new_window 1pixel 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 ''" bindsym $mod+Shift+b exec "xlock -mode matrix -info ''"
# Custom Workspaces # 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 @@%} {%@@ endif @@%}

View File

@@ -4,8 +4,6 @@ export SHELL="/bin/zsh"
setxkbmap -layout za 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"
@@ -14,10 +12,6 @@ export LANGUAGE="en_US.UTF-8"
~/bin/.keyboard.scm & ~/bin/.keyboard.scm &
xrandr --output HDMI-2 --auto --right-of HDMI-1 xrandr --output HDMI-2 --auto --right-of HDMI-1
feh --bg-scale ~/.wallpaper/wallpaper_genua.png feh --bg-scale ~/.wallpaper/wallpaper_genua.png
i3 picom &
{%@@ endif @@%}
{%@@ if profile == "laptop" @@%}
feh --bg-scale ~/.wallpaper/wallpaper.png
i3 i3
{%@@ endif @@%} {%@@ endif @@%}