Adding screen layout

This commit is contained in:
2026-02-11 15:46:23 +01:00
parent 1c9930c049
commit fe2e83b2b0
3 changed files with 6 additions and 3 deletions

View File

@@ -5,6 +5,8 @@ if [[ $hostname == "bepis" ]]; then
$(~/.config/screenlayout/desktop.sh)
elif [[ $hostname == "arch-bepis" ]]; then
$(~/.config/screenlayout/arch-bepis-desktop-sway.sh)
elif [[ $hostname == "printer" ]]; then
$(~/.config/screenlayout/printer.sh)
elif [[ $hostname == "bepis-laptop" ]]; then
$(~/.config/screenlayout/laptop.sh)
fi

View File

@@ -0,0 +1 @@
swaymsg output HDMI-A-3 mode 2560x1440 bg ~/.config/feh/wallpaper.png stretch scale 1.2

View File

@@ -35,7 +35,7 @@ exec_always export hostname="$(cat /etc/hostname)" && ~/.config/keyboard/apply-k
set $mod Mod4
font pango:DejaVu 14
font pango:JetBrainsMono Nerd Font 14
# This font is widely installed, provides lots of unicode glyphs, right-to-left
# text rendering and scalability on retina/hidpi displays (thanks to pango).
@@ -48,7 +48,7 @@ exec --no-startup-id dex --autostart --environment i3
# xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the
# screen before suspend. Use loginctl lock-session to lock your screen.
exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork
exec --no-startup-id xss-lock --transfer-sleep-lock -- swaylock -fkL -s stretch -i /home/wholteza/.config/feh/wallpaper.png
# 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.
@@ -234,7 +234,7 @@ bar {
#KEYBINDS
bindsym $mod+Shift+z exec /home/wholteza/.config/i3/lock -b=0x8 -n
bindsym $mod+Shift+z exec swaylock -fkL -s stretch -i /home/wholteza/.config/feh/wallpaper.png
bindsym Control+Mod1+s exec /home/wholteza/.config/passmenu/passmenu
bindsym $mod+Shift+p exec arandr
bindsym $mod+p exec /home/wholteza/.config/screenlayout/screenmenu.sh