From 37f52c7cf212dfff11245e7ca07b1da85893759a Mon Sep 17 00:00:00 2001 From: opal Date: Fri, 10 Nov 2023 15:54:09 -0800 Subject: [PATCH] did a bunch of stoof --- .bashrc | 3 ++- .config/sway/config | 13 +++---------- .config/wlogout/layout | 2 +- .config/wlogout/style.css | 28 +++++++++------------------- 4 files changed, 15 insertions(+), 31 deletions(-) diff --git a/.bashrc b/.bashrc index 56cfb91..e66cf41 100755 --- a/.bashrc +++ b/.bashrc @@ -124,8 +124,9 @@ alias .....='cd ../../../..' alias bd='cd "$OLDPWD"' # Alias's for multiple directory listing commands +alias ls='exa --icons' alias la='ls -Alh' # show hidden files -alias ls='ls -aFh --color=always' # add colors and file type extensions +#alias ls='ls -aFh --color=always' # add colors and file type extensions alias lx='ls -lXBh' # sort by extension alias lk='ls -lSrh' # sort by size alias lc='ls -lcrh' # sort by change time diff --git a/.config/sway/config b/.config/sway/config index 534f4c0..99a0f08 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -39,7 +39,7 @@ floating_modifier $mod normal bindsym $mod+Shift+c reload # Exit sway (logs you out of your Wayland session) -bindsym $mod+Shift+x exec swaymsg -r exit +#bindsym $mod+Shift+x exec swaymsg -r exit ## Volume bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +2% @@ -147,7 +147,6 @@ mode "resize" { bindsym $mod+r mode "resize" # Screenshot (Grimshot) - # Captures the currently active window bindsym $mod+g exec grimshot save active # Allows manually selecting a rectangular region @@ -158,14 +157,11 @@ bindsym $mod+Mod1+g exec grimshot save output bindsym $mod+Ctrl+g exec grimshot save window # Turn the system off -bindsym $mod+Shift+e exec swaynag -t custom -m 'What action would you like to perform?' -b 'Shutdown' 'systemctl poweroff' -b 'Restart' 'systemctl reboot' -b 'Suspend' 'systemctl suspend' +bindsym $mod+Shift+e exec wlogout -p layer-shell # Notifications exec_always dunst -# flash focus -exec flashfocus - # Wlsunset (Night Light) exec_always wlsunset -l 47.6 -L -122.3 -t 3000 -T 6500 @@ -173,7 +169,7 @@ exec_always wlsunset -l 47.6 -L -122.3 -t 3000 -T 6500 exec /usr/bin/udiskie & # Network Manager tray applet -exec /usr/bin/nm-tray --indicator +exec /usr/bin/nm-applet --indicator # Bluetooth manager tray applet exec /usr/bin/blueman-applet @@ -181,9 +177,6 @@ exec /usr/bin/blueman-applet # Clamshell Mode Script #exec_always ~/.config/sway/clamshell.sh -# polkit -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 diff --git a/.config/wlogout/layout b/.config/wlogout/layout index 9281637..3aa0636 100644 --- a/.config/wlogout/layout +++ b/.config/wlogout/layout @@ -7,7 +7,7 @@ { "label" : "logout", - "action" : "sway exit", + "action" : "hyprctl dispatch exit 0", "text" : "Logout", "keybind" : "e" } diff --git a/.config/wlogout/style.css b/.config/wlogout/style.css index 865c700..80da49b 100644 --- a/.config/wlogout/style.css +++ b/.config/wlogout/style.css @@ -1,38 +1,28 @@ * { - background-image: none; + background-color: transparent; } window { - background-color: rgba(0, 0, 0, 0.8); + background-color: rgba(12, 12, 12, 0.9); } button { - color: #BD93F9; - font-family: "Hack"; - - border-radius: 0px; + margin: 10px; + color: #ffffff; + background-color: #1e1e1e; border-style: solid; - border-width: 1px; - + border-width: 10px; + border-radius: 25px; background-repeat: no-repeat; background-position: center; - background-size: 25%; + background-size: 20%; } button:focus, button:active, button:hover { - background-color: #BD93F9; + background-color: #333333; outline-style: none; } -#lock -#logout, -#suspend, -#hibernate, -#shutdown, -#reboot { - opacity: 0.6; -} - #lock { background-image: image( url("/usr/share/wlogout/icons/lock.png"),