This commit is contained in:
2023-09-21 14:34:11 +02:00
parent 277117390b
commit b5457c1093
3 changed files with 19 additions and 7 deletions

View File

@@ -29,6 +29,8 @@ set $text-color #0DA321
set $inactive-text-color #505254
set $urgent-bg-color #E53935
exec_always ~/.config/screenlayout/apply-screen-layout.sh
set $mod Mod4
font pango:DejaVu 14
@@ -130,16 +132,16 @@ bindsym $mod+a focus parent
# 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"
set $ws4 "4"
set $ws5 "5"
set $ws1 "1: Whatever"
set $ws2 "2: Browsing"
set $ws3 "3: Development"
set $ws4 "4: Social"
set $ws5 "5: Games"
set $ws6 "6"
set $ws7 "7"
set $ws8 "8"
set $ws9 "9"
set $ws10 "10"
set $ws10 "10: Terminals"
# switch to workspace
bindsym $mod+1 workspace number $ws1
@@ -230,13 +232,15 @@ exec_always feh --bg-fill /$wallpaper_path
#KEYBINDS
bindsym $mod+Shift+z exec i3lock
bindsym Control+Mod1+s exec /home/wholteza/.config/passmenu/passmenu
bindsym $mod+p exec arandr
# border / titlebar
title_align center
default_border normal
# hide_edge_borders vertical
bindsym Control+Shift+x [class="^.*"] border toggle
for_window [class="plasma.emojier"] floating enable
for_window [class="Solaar"] floating enable
for_window [class="Arandr"] floating enable
# for_window [class="^.*"] border pixel 1
# for_window [class="URxvt"] border normal

View File

@@ -0,0 +1,6 @@
#!/bin/bash
hostname=$(/usr/bin/hostname)
if [[ $hostname -eq "bepis" ]]; then
$(~/.config/screenlayout/bepis.sh)
fi

2
.config/screenlayout/bepis.sh Executable file
View File

@@ -0,0 +1,2 @@
#!/bin/sh
xrandr --output DVI-I-0 --off --output DVI-I-1 --off --output HDMI-0 --primary --mode 3440x1440 --pos 1440x475 --rotate normal --output DP-0 --mode 2560x1440 --pos 0x0 --rotate left --output DP-1 --off --output DVI-D-0 --off