Compare commits

...

6 Commits

5 changed files with 42 additions and 3 deletions

View File

@ -1,7 +1,7 @@
# Autostarting common utilities to my environments
# htop system monitor
exec --no-startup-id $TERMINAL --title=htop htop
exec --no-startup-id sleep 15 && $term --title=htop htop
# NetworkManager Applet
exec --no-startup-id nm-applet --indicator

View File

@ -0,0 +1,23 @@
# Improved from `man grimshot`
# It will store things to XDG_SCREENSHOTS_DIR.
# Run `xdg-user-dirs-update`, edit `~/.config/user-dirs.dirs` and rerun
# Create the directory if it doesn't exist, and screenshots will start
# going there.
# To not repeat the --notify so much
set $grimshot grimshot --notify
# Shift+PrintScreen: Current window
bindsym Shift+Print exec $grimshot save active
# Super+Shift+Print: Select area
bindsym $mod+Shift+Print exec $grimshot save area
# Super+Alt+p (or PrintScreen) Current output
bindsym $mod+Mod1+p exec $grimshot save output
bindsym Print exec $grimshot save output
# Super+Ctrl+p (or Super+Ctrl+PrintScreen) Select a window
bindsym $mod+Ctrl+p exec $grimshot save window
bindsym $mod+Ctrl+Print exec $grimshot save window

View File

@ -0,0 +1,12 @@
# Switches mouse to flat acceleration profile and sets speed to 0
# Idea from https://www.reddit.com/r/linux_gaming/comments/tu2l0q/comment/i34ejep/
# Constant rotation in Steam/xwayland or at least FF XII TZA is resolved by
# Super-Shift-C (sway config reload) in-game, regardless of it sounding
# counter-productive
input "type:pointer" {
#accel_profile adaptive
accel_profile flat
pointer_accel 0
}

View File

@ -495,7 +495,9 @@ alias apt-builddep="apt-rdepends --build-depends --follow=DEPENDS"
alias winkey="xxd /sys/firmware/acpi/tables/MSDM"
# Always exec startx/startsway/wayland/sway so Ctrl-Alt-Backspace won't lead to unlocked TTY.
alias startsway="exec dbus-launch --exit-with-session sway --unsupported-gpu"
#alias startsway="exec dbus-launch --exit-with-session sway --unsupported-gpu"
alias startsway="\exec startsway"
alias startplasma="\exec startplasma"
#alias startx="exec \startx"
alias startx=startsway
alias startwayland=startsway

View File

@ -472,7 +472,9 @@ alias apt-builddep="apt-rdepends --build-depends --follow=DEPENDS"
alias winkey="xxd /sys/firmware/acpi/tables/MSDM"
# Always exec startx/startsway/wayland/sway so Ctrl-Alt-Backspace won't lead to unlocked TTY.
alias startsway="exec dbus-launch --exit-with-session sway --unsupported-gpu"
#alias startsway="exec dbus-launch --exit-with-session sway --unsupported-gpu"
alias startsway="\exec startsway"
alias startplasma="\exec startplasma"
#alias startx="exec \startx"
alias startx=startsway
alias startwayland=startsway