mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-08-06 14:17:21 +02:00
Compare commits
6 Commits
2ecb891a10
...
ff4d1af6cc
Author | SHA1 | Date | |
---|---|---|---|
ff4d1af6cc | |||
7eeb5fa73e | |||
6501a87b29 | |||
d9aaf05959 | |||
4af6a4834a | |||
773b601924 |
@ -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
|
||||
|
23
conf/sway/config.d/grimshot.conf
Normal file
23
conf/sway/config.d/grimshot.conf
Normal 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
|
12
conf/sway/config.d/pointer-accel.conf
Normal file
12
conf/sway/config.d/pointer-accel.conf
Normal 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
|
||||
}
|
@ -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
|
||||
|
4
rc/zshrc
4
rc/zshrc
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user