switch to bashrc, fix sway config

This commit is contained in:
Opal
2022-10-10 20:14:05 -07:00
parent a8368426c4
commit 03bb03c734
7 changed files with 366 additions and 21 deletions

View File

@@ -103,7 +103,8 @@ bindsym $mod+space focus mode_toggle
# Move focus to the parent container
bindsym $mod+a focus parent
#
# Scratchpad:
#
# Sway has a "scratchpad", which is a bag of holding for windows.
@@ -158,13 +159,13 @@ bindsym $mod+Shift+e exec swaynag -t custom -m 'What action would you like to pe
exec_always dunst
# flash focus
exec_always --no-startup-id flashfocus
exec flashfocus
# Wlsunset (Night Light)
exec_always wlsunset -l 47.6 -L -122.3 -t 3000 -T 6500
exec wlsunset -l 47.6 -L -122.3 -t 3000 -T 6500
# udiskie - auto usb mounting
exec /usr/bin/udiskie
exec /usr/bin/udi8000
# Network Manager tray applet
exec /usr/bin/nm-applet --indicator
@@ -176,29 +177,22 @@ exec /usr/bin/blueman-applet
#exec_always ~/.config/sway/clamshell.sh
# polkit
#exec /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec /usr/libexec/polkit-gnome-authentication-agent-1
# Gtk
# exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK
# exec hash dbus-update-activation-environment 2>/dev/null && \
# dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK
set $opacity 0.98
for_window [class=".*"] opacity $opacity
for_window [app_id=".*"] opacity $opacity
exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK
exec hash dbus-update-activation-environment 2>/dev/null && dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK
# Window Borders
default_border none
default_border pixel 1
default_floating_border none
client.focused "#9f1209" "#9f1209" "#ffffff" "#9f1209"
# Gaps
smart_gaps on
gaps inner 5
gaps outer 2
for_window [app_id="galendae"] floating enable, sticky enable, move position cursor, move down 35
# Idle configuration
exec swayidle -w \
timeout 120 'swaylock -f' \
@@ -231,7 +225,7 @@ input type:keyboard {
}
# Hide mouse cursor after inactivity
seat * hide_cursor 4000
seat * hide_cursor 8000
set $laptop eDP-1
bindswitch --reload --locked lid:on output $laptop disable
@@ -244,8 +238,7 @@ bindswitch --reload --locked lid:off output $laptop enable
#output HDMI-A-1 pos 0 0 res 2560x1440
# Wallpaper
output DP-3 bg /home/opal/.config/wallpapers/3.jpg fill
output HDMI-A-1 bg /home/opal/.config/wallpapers/3.jpg fill
output * bg /home/opal/.config/wallpapers/2.jpg fill
# Assign workspaces to numbers
set $ws1 number 1