Fixes for arch before moving to NixOS anyways...?
This commit is contained in:
parent
21245498e4
commit
3dc9ab3879
7 changed files with 51 additions and 17 deletions
|
@ -141,7 +141,7 @@ mode "resize" {
|
|||
default_border pixel 5
|
||||
for_window [app_id="floating_terminal"] floating enable
|
||||
for_window [class="floating_terminal"] floating enable
|
||||
for_window [class=".*"] layout splith
|
||||
for_window [class=".*"] layout splitv
|
||||
|
||||
# bindsym $mod+r mode "resize"
|
||||
|
||||
|
@ -161,9 +161,9 @@ client.focused_inactive #111111 #111111 #ffffff #111111 #111111
|
|||
client.unfocused #111111 #111111 #ffffff #111111 #111111
|
||||
|
||||
exec mako
|
||||
exec gammastep -t 6500:3500 -l 39.0:-94.5
|
||||
exec_always makoctl reload
|
||||
exec_always notify-send -a "Sway" -i ~/.wallpaper "Sway configuration loaded."
|
||||
exec_always kanshi
|
||||
|
||||
include $ENV_PATH/sway/config.d/*
|
||||
|
||||
|
|
6
apps/kanshi/config
Normal file
6
apps/kanshi/config
Normal file
|
@ -0,0 +1,6 @@
|
|||
profile desktop-H {
|
||||
output "Samsung Electric Company CF791 HTRJ500315" enable mode 3440x1440@100Hz position 1440,560 scale 1 transform normal
|
||||
output "Dell Inc. DELL U2719DC 5DL4QS2" enable mode 2560x1440@60Hz position 0,0 scale 1 transform 270
|
||||
output "Dell Inc. DELL U2719DC 9DL4QS2" enable mode 2560x1440@60Hz position 4880,0 scale 1 transform 90
|
||||
exec "$HOME/.config/dotfiles/apps/kanshi/desktop-H-workspaces.sh"
|
||||
}
|
24
apps/kanshi/desktop-H-workspaces.sh
Executable file
24
apps/kanshi/desktop-H-workspaces.sh
Executable file
|
@ -0,0 +1,24 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
set -x
|
||||
|
||||
uw='Samsung Electric Company CF791 HTRJ500315'
|
||||
l='Dell Inc. DELL U2719DC 5DL4QS2'
|
||||
r='Dell Inc. DELL U2719DC 9DL4QS2'
|
||||
|
||||
mws() {
|
||||
swaymsg workspace "$1", move workspace to output "\"$2\""
|
||||
}
|
||||
|
||||
mws 5 "$l"
|
||||
mws 6 "$l"
|
||||
mws 4 "$l"
|
||||
|
||||
mws 8 "$r"
|
||||
mws 9 "$r"
|
||||
mws 7 "$r"
|
||||
|
||||
mws 2 "$uw"
|
||||
mws 3 "$uw"
|
||||
mws 1 "$uw"
|
||||
|
|
@ -40,6 +40,7 @@ pacaur --needed -S \
|
|||
bspwm-git sxhkd-git xdo-git `# Window Manager and Tools for its use` \
|
||||
wlroots-git sway-git `# Wayland Compositor` \
|
||||
swaylock `# Wayland Compositor` \
|
||||
kanshi `# Monitor Management for Wayland` \
|
||||
waybar mako `# Wayland Bar & Notifications` \
|
||||
slurp grim wl-clipboard `# Wayland Screen Selection & Clipping` \
|
||||
wl-clipboard `# Wayland Clipboard CLI` \
|
||||
|
|
28
env/desktop/sway/config.d/main
vendored
28
env/desktop/sway/config.d/main
vendored
|
@ -1,27 +1,27 @@
|
|||
exec swayidle -w timeout 300 'swaylock -f -c 000000' timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' before-sleep 'swaylock -f -c 000000'
|
||||
|
||||
# shared
|
||||
workspace 1 output DP-1
|
||||
workspace 2 output DP-1
|
||||
workspace 3 output DP-1
|
||||
# workspace 1 output DP-1
|
||||
# workspace 2 output DP-1
|
||||
# workspace 3 output DP-1
|
||||
|
||||
# --I format
|
||||
# output DP-1 res 3440x1440@100Hz pos 2560 720
|
||||
# output DP-2 res 2560x1440@60Hz pos 0 0
|
||||
# output DP-4 res 2560x1440@60Hz pos 6000 0 transform 270
|
||||
workspace 4 output DP-2
|
||||
workspace 5 output DP-2
|
||||
workspace 6 output DP-2
|
||||
workspace 7 output DP-4
|
||||
workspace 8 output DP-4
|
||||
workspace 9 output DP-4
|
||||
# workspace 4 output DP-2
|
||||
# workspace 5 output DP-2
|
||||
# workspace 6 output DP-2
|
||||
# workspace 7 output DP-4
|
||||
# workspace 8 output DP-4
|
||||
# workspace 9 output DP-4
|
||||
|
||||
# H format
|
||||
output DP-1 res 3440x1440@100Hz pos 1440 560
|
||||
output DP-2 res 2560x1440@60Hz pos 0 0 transform 90
|
||||
output DP-3 res 2560x1440@60Hz pos 0 0 transform 90
|
||||
output DP-4 res 2560x1440@60Hz pos 4880 0 transform 270
|
||||
output DP-5 res 2560x1440@60Hz pos 4880 0 transform 270
|
||||
# output DP-1 res 3440x1440@100Hz pos 1440 560
|
||||
# output DP-2 res 2560x1440@60Hz pos 0 0 transform 90
|
||||
# output DP-3 res 2560x1440@60Hz pos 0 0 transform 90
|
||||
# output DP-4 res 2560x1440@60Hz pos 4880 0 transform 270
|
||||
# output DP-5 res 2560x1440@60Hz pos 4880 0 transform 270
|
||||
|
||||
# iIi format
|
||||
# output DP-1 res 3440x1440@100Hz pos 1440 0 transform 90
|
||||
|
|
2
env/laptop/sway/config.d/main
vendored
2
env/laptop/sway/config.d/main
vendored
|
@ -1,5 +1,5 @@
|
|||
exec libinput-gestures -c $DOTFILES_PATH/apps/de/libinput/sway-gestures.conf
|
||||
|
||||
exec gammastep -t 6500:3500 -l 39.0:-94.5
|
||||
# exec swayidle -w timeout 300 'swaylock -f -c 000000' timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' before-sleep 'swaylock -f -c 000000'
|
||||
|
||||
bindswitch lid:toggle exec swaylock
|
||||
|
|
|
@ -125,6 +125,9 @@ links=(
|
|||
|
||||
# XDG user directories
|
||||
"env/nix/pkgs" "$XDG_CONFIG_HOME/nixpkgs"
|
||||
|
||||
# Kanshi configuration
|
||||
"apps/kanshi" "$XDG_CONFIG_HOME/kanshi"
|
||||
)
|
||||
|
||||
chmod 700 -R "$HOME/.bin"
|
||||
|
|
Reference in a new issue