This commit is contained in:
2023-11-03 19:14:02 +01:00
parent f8643931f0
commit 660e3197ad
12 changed files with 31 additions and 18 deletions

View File

@@ -21,23 +21,26 @@ set $term kitty
# set $menu dmenu_path | dmenu | xargs swaymsg exec --
set $menu rofi -no-levenshtein-sort -color-enabled -show run\
-run-command "zsh -i -c '{cmd}'" | xargs swaymsg exec --
set $srclocker swaylock -c 222222 -u -i eDP-1:~/wallpapers/radiance.png\
-i DP-5:~/wallpapers/hornet.jpg -i DP-4:~/wallpapers/knight.jpg
#set $srclocker swaylock -c 222222 -u -i eDP-1:~/wallpapers/radiance.png\
# -i DP-5:~/wallpapers/hornet.jpg -i DP-4:~/wallpapers/knight.jpg
### Output configuration
#
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
# output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
output * pos 1920 0 res 1920 1080
#output eDP-1 pos 0 300 res 3840 2160 scale 1
output eDP-1 pos 0 300 res 3840 2160
output "Goldstar Company Ltd M2080D 0x00000101" pos 1920 0 res 1920 1080
#output "Dell Inc. DELL U2717D JXRPT83GAHKS" pos 3840 0 res 2560 1440
output "Dell Inc. DELL U2717D JXRPT83GAHKS" pos 1920 0 res 2560 1440
#output "Dell Inc. DELL U2717D JXRPT83GAHKS" pos 1920 0 res 1920 1080
output HDMI-A-3 pos 1920 0 res 1920 1080
output * bg ~/wallpapers/filianore-u.jpg fill
output "Beihai Century Joint Innovation Technology Co.,Ltd MD49DQHD-2 0000000000000" pos 1920 0 res 5120 1440
output eDP-1 {
pos 0 0
res 2256 1504
scale 1.5
bg "~/wallpapers/priscilla.png" fill
}
output "Beihai Century Joint Innovation Technology Co.,Ltd MD49DQHD-2 0000000000000" {
pos 1504 0
res 5120 1440
bg "~/wallpapers/ranni.png" fill
}
focus output eDP-1
bindswitch --reload --locked lid:on output eDP-1 disable
@@ -86,7 +89,7 @@ input "*" {
xkb_variant latin9
}
input "1739:0:Synaptics_TM3276-031" {
input "2362:628:PIXA3854:00_093A:0274_Touchpad" {
tap enabled
natural_scroll enabled
}
@@ -258,7 +261,7 @@ bindsym Ctrl+Alt+l exec $srclocker
bar {
position top
pango_markup enabled
font pango:DejaVu Sans Mono, FontAwesome 10
font pango:DejaVuSansM Nerd Font Mono, FontAwesome 10
# When the status_command prints a new line to stdout, swaybar updates.
# The default just shows the current date and time.
@@ -290,7 +293,11 @@ include /etc/sway/config.d/*
# Assignments
assign [class="discord"] workspace 3
assign [class="Spotify"] workspace 3
# for_window [class="Spotify"] opacity 0.8
for_window [class="Spotify"] {
floating enable
sticky enable
}
for_window [app_id="boop-gtk"] floating enable
#exec redshift -O 4500 -m wayland
@@ -304,7 +311,10 @@ for_window [class="Tor Browser"] floating enable
for_window [class="steam_proton"] floating enable
for_window [app_id="mpv"] floating enable
for_window [app_id="mpv"] {
floating enable
sticky enable
}
for_window [app_id="kitty-scratch"] {
border pixel 1