This commit is contained in:
2025-11-17 00:20:30 +01:00
parent 9250ff7d06
commit 2a6d00de22
3 changed files with 29 additions and 118 deletions

26
.zshrc
View File

@@ -1,26 +0,0 @@
# Lines configured by zsh-newuser-install
bindkey -e
# End of lines configured by zsh-newuser-install
# The following lines were added by compinstall
zstyle :compinstall filename '/home/joren/.zshrc'
autoload -Uz compinit
compinit
# End of lines added by compinstall
#export PROMPT='%F{2}%~ $%f '
PROMPT='%F{255}[%n@%m %F{045}%~%F{255}]$ '
source <(fzf --zsh)
HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=1000
setopt appendhistory
bindkey "^[[H" beginning-of-line
bindkey "^[[F" end-of-line
bindkey "^[[3~" delete-char

View File

@@ -1,21 +1,20 @@
profile Brugge { profile Brugge {
output eDP-1 mode 1920x1080 position 3840,0 output eDP-1 mode 2880x1800@90.001Hz scale 1.25 position 3840,0
output 'HP Inc. HP 32 Display CNC13613YS' mode 1920x1080 position 1920,0 output 'HP Inc. HP 32 Display CNC13613YS' mode 1920x1080 position 1920,0
output 'Lenovo Group Limited LEN T24i-10 VNA3YRXR' mode 1920x1080 position 0,0 output 'Lenovo Group Limited LEN T24i-10 VNA3YRXR' mode 1920x1080 position 0,0
}
profile Home {
output eDP-1 mode 1920x1080 position 0,0
output 'Dell Inc. Dell AW3420DW #ASO1LVSGTD/d' mode 3440x1440@59.973Hz position 1920,0
}
profile Laptop {
output eDP-1 mode 1920x1080 position 0,0
}
profile Home_Downstairs_Papa {
output eDP-1 mode 1920x1080 position 0,1080
output 'Lenovo Group Limited T24v-10 V904HRGZ' mode 1920x1080 position 0,0
} }
profile Home {
output eDP-1 mode 2880x1800@90.001Hz scale 1.25 position 0,0
output 'Dell Inc. Dell AW3420DW #ASO1LVSGTD/d' mode 3440x1440@84.964Hz scale 1 position 2304,0
}
profile Laptop {
output eDP-1 mode 2880x1800@90.001Hz scale 1.25 position 0,0
}
profile Home_Downstairs_Papa {
output eDP-1 mode 2880x1800@90.001Hz scale 1.25 position 0,1080
output 'Lenovo Group Limited T24v-10 V904HRGZ' mode 1920x1080 position 0,0
}

View File

@@ -14,23 +14,21 @@ set $down j
set $up k set $up k
set $right l set $right l
# Your preferred terminal emulator # Your preferred terminal emulator
set $term alacritty set $term foot
# Your preferred application launcher # Your preferred application launcher
# Note: pass the final command to swaymsg so that the resulting window can be opened # Note: pass the final command to swaymsg so that the resulting window can be opened
# on the original workspace that the command was run on. # on the original workspace that the command was run on.
set $menu dmenu_path | dmenu | xargs swaymsg exec -- set $menu wmenu-run
set $laptop_kb 1:1:AT_Translated_Set_2_keyboard
set $home_kb 5215:485:SEMICO_USB_Keyboard
### Output configuration ### Output configuration
# #
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/) # Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
output * bg /usr/share/backgrounds/sakura.jpg fill output * bg /usr/share/backgrounds/user/10-15-Day.jpg fill
#output * bg /usr/share/backgrounds/sumi.png fill #output * bg /usr/share/backgrounds/sumi.png fill
output "eDP-1" scale 1.25
# #
# Example configuration: # Example configuration:
# #
@@ -108,7 +106,7 @@ output * bg /usr/share/backgrounds/sakura.jpg fill
bindsym $mod+Shift+$left move left bindsym $mod+Shift+$left move left
bindsym $mod+Shift+$down move down bindsym $mod+Shift+$down move down
bindsym $mod+Shift+$up move up bindsym $mod+Shift+$up move up
bindsym $mod+Shift+$right move rightset $laptop_kb 1:1:AT_Translated_Set_2_keyboard bindsym $mod+Shift+$right move right
# Ditto, with arrow keys # Ditto, with arrow keys
bindsym $mod+Shift+Left move left bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down bindsym $mod+Shift+Down move down
@@ -118,7 +116,6 @@ output * bg /usr/share/backgrounds/sakura.jpg fill
# Workspaces: # Workspaces:
# #
# Switch to workspace # Switch to workspace
bindsym $mod+1 workspace number 1 bindsym $mod+1 workspace number 1
bindsym $mod+2 workspace number 2 bindsym $mod+2 workspace number 2
bindsym $mod+3 workspace number 3 bindsym $mod+3 workspace number 3
@@ -129,7 +126,6 @@ output * bg /usr/share/backgrounds/sakura.jpg fill
bindsym $mod+8 workspace number 8 bindsym $mod+8 workspace number 8
bindsym $mod+9 workspace number 9 bindsym $mod+9 workspace number 9
bindsym $mod+0 workspace number 10 bindsym $mod+0 workspace number 10
# Move focused container to workspace # Move focused container to workspace
bindsym $mod+Shift+1 move container to workspace number 1 bindsym $mod+Shift+1 move container to workspace number 1
bindsym $mod+Shift+2 move container to workspace number 2 bindsym $mod+Shift+2 move container to workspace number 2
@@ -143,60 +139,6 @@ output * bg /usr/share/backgrounds/sakura.jpg fill
bindsym $mod+Shift+0 move container to workspace number 10 bindsym $mod+Shift+0 move container to workspace number 10
# Note: workspaces can have any name you want, not just numbers. # Note: workspaces can have any name you want, not just numbers.
# We just use 1-10 as the default. # We just use 1-10 as the default.
# Same bindings for the laptop keyboard (with azerty layout)
bindsym --input-device=$laptop_kb $mod+ampersand workspace number 1
bindsym --input-device=$laptop_kb $mod+eacute workspace number 2
bindsym --input-device=$laptop_kb $mod+quotedbl workspace number 3
bindsym --input-device=$laptop_kb $mod+apostrophe workspace number 4
bindsym --input-device=$laptop_kb $mod+parenleft workspace number 5
bindsym --input-device=$laptop_kb $mod+section workspace number 6
bindsym --input-device=$laptop_kb $mod+egrave workspace number 7
bindsym --input-device=$laptop_kb $mod+exclam workspace number 8
bindsym --input-device=$laptop_kb $mod+ccedilla workspace number 9
bindsym --input-device=$laptop_kb $mod+agrave workspace number 10
bindsym --input-device=$laptop_kb $mod+Shift+ampersand move container to workspace number 1
bindsym --input-device=$laptop_kb $mod+Shift+eacute move container to workspace number 2
bindsym --input-device=$laptop_kb $mod+Shift+quotedbl move container to workspace number 3
bindsym --input-device=$laptop_kb $mod+Shift+apostrophe move container to workspace number 4
bindsym --input-device=$laptop_kb $mod+Shift+parenleft move container to workspace number 5
bindsym --input-device=$laptop_kb $mod+Shift+section move container to workspace number 6
bindsym --input-device=$laptop_kb $mod+Shift+egrave move container to workspace number 7
bindsym --input-device=$laptop_kb $mod+Shift+exclam move container to workspace number 8
bindsym --input-device=$laptop_kb $mod+Shift+ccedilla move container to workspace number 9
bindsym --input-device=$laptop_kb $mod+Shift+agrave move container to workspace number 10
# Workaround for https://github.com/swaywm/sway/issues/6961 (from https://github.com/swaywm/sway/issues/4955)
# Same bindings for the laptop keyboard (with azerty layout)
bindsym --input-device=$home_kb $mod+ampersand workspace number 1
bindsym --input-device=$home_kb $mod+eacute workspace number 2
bindsym --input-device=$home_kb $mod+quotedbl workspace number 3
bindsym --input-device=$home_kb $mod+apostrophe workspace number 4
bindsym --input-device=$home_kb $mod+parenleft workspace number 5
bindsym --input-device=$home_kb $mod+section workspace number 6
bindsym --input-device=$home_kb $mod+egrave workspace number 7
bindsym --input-device=$home_kb $mod+exclam workspace number 8
bindsym --input-device=$home_kb $mod+ccedilla workspace number 9
bindsym --input-device=$home_kb $mod+agrave workspace number 10
bindsym --input-device=$home_kb $mod+Shift+ampersand move container to workspace number 1
bindsym --input-device=$home_kb $mod+Shift+eacute move container to workspace number 2
bindsym --input-device=$home_kb $mod+Shift+quotedbl move container to workspace number 3
bindsym --input-device=$home_kb $mod+Shift+apostrophe move container to workspace number 4
bindsym --input-device=$home_kb $mod+Shift+parenleft move container to workspace number 5
bindsym --input-device=$home_kb $mod+Shift+section move container to workspace number 6
bindsym --input-device=$home_kb $mod+Shift+egrave move container to workspace number 7
bindsym --input-device=$home_kb $mod+Shift+exclam move container to workspace number 8
bindsym --input-device=$home_kb $mod+Shift+ccedilla move container to workspace number 9
bindsym --input-device=$home_kb $mod+Shift+agrave move container to workspace number 10
seat * keyboard_grouping none
# #
# Layout stuff: # Layout stuff:
# #
@@ -254,7 +196,7 @@ mode "resize" {
bindsym Right resize grow width 10px bindsym Right resize grow width 10px
# Return to default mode # Return to default mode
bindsym Return modee "default" bindsym Return mode "default"
bindsym Escape mode "default" bindsym Escape mode "default"
} }
bindsym $mod+r mode "resize" bindsym $mod+r mode "resize"
@@ -273,7 +215,10 @@ bar {
colors { colors {
statusline #ffffff statusline #ffffff
background #323232 background #323232
inactive_workspace #32323200 #32323200 #5c5c5c focused_workspace #4c7899 #285577 #ffffff
active_workspace #333333 #5f676a #ffffff
inactive_workspace #333333 #222222 #888888
urgent_workspace #2f343a #900000 #ffffff
} }
} }
@@ -285,7 +230,7 @@ include /etc/sway/config.d/*
# Default Layout (Azerty) # Default Layout (Azerty)
input "1:1:AT_Translated_Set_2_keyboard" { input "1:1:AT_Translated_Set_2_keyboard" {
xkb_layout "be" xkb_layout "us"
} }
# Kot Keyboard (Qwerty US) # Kot Keyboard (Qwerty US)
@@ -293,10 +238,6 @@ input "1133:49980:Logitech_G513_RGB_MECHANICAL_GAMING_KEYBOARD_Keyboard" {
xkb_layout "us" xkb_layout "us"
} }
# Home Docking Keyboard (Azerty)
input "5215:485:SEMICO_USB_Keyboard" {
xkb_layout "be"
}
# Start Autotiling, automatic display managing and polkit agent # Start Autotiling, automatic display managing and polkit agent
exec_always autotiling exec_always autotiling
@@ -316,7 +257,7 @@ input "5215:485:SEMICO_USB_Keyboard" {
bindsym ctrl+shift+Print exec /home/joren/scripts/ScreenShot/screengrab --select bindsym ctrl+shift+Print exec /home/joren/scripts/ScreenShot/screengrab --select
# Lock # Lock
bindsym ctrl+alt+L exec swaylock --clock --indicator --screenshots --effect-scale 0.4 --effect-vignette 0.2:0.5 --effect-blur 4x2 --datestr "%a %e.%m.%Y" --timestr "%k:%M" bindsym ctrl+alt+L exec swaylock --clock --indicator --screenshots --effect-scale 0.1 --effect-vignette 0.2:0.5 --effect-blur 4x2 --datestr "%a %e.%m.%Y" --timestr "%k:%M"
# Switch workspaces # Switch workspaces
bindsym Ctrl+Alt+Left workspace prev bindsym Ctrl+Alt+Left workspace prev
@@ -360,6 +301,3 @@ input "5215:485:SEMICO_USB_Keyboard" {
# F10: XF86Go # F10: XF86Go
# F9: XF86Messenger # F9: XF86Messenger
# #
for_window [title="Bisq"] floating enable