mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-01-09 11:52:31 +01:00
Compare commits
3 Commits
aaec26e389
...
78cb6340ee
Author | SHA1 | Date | |
---|---|---|---|
78cb6340ee | |||
d4e54485c2 | |||
7189a06a28 |
5
conf/sway/README.md
Normal file
5
conf/sway/README.md
Normal file
@ -0,0 +1,5 @@
|
||||
# Sway configuration
|
||||
|
||||
This is my `~/.config/sway/config`, and `…config.d/`. The main config contains
|
||||
thinks that I have felt as essential or otherwise felt like putting there,
|
||||
but as I love include directives, a lot is in the config.d.
|
@ -22,8 +22,8 @@ set $menu bemenu-run | xargs swaymsg exec --
|
||||
|
||||
# Screen lock command
|
||||
# -c, colour, -F showing failed attempts, -k keyboard layout display,
|
||||
# -l, caps lock idnicator
|
||||
set $ScreenLockCmd swaylock -c 000000 -F -k -l
|
||||
# -l, caps lock idnicator, -f fork (required by swayidle)
|
||||
set $ScreenLockCmd swaylock -c 000000 -F -k -l -f
|
||||
|
||||
# Preferred graphical text editor
|
||||
set $TEXTEDITOR pluma
|
||||
|
27
conf/sway/config.d/README.md
Normal file
27
conf/sway/config.d/README.md
Normal file
@ -0,0 +1,27 @@
|
||||
# More sway configuration
|
||||
|
||||
`~/.config/sway/config.d/` where `*.conf` is included by my sway config.
|
||||
Thus this `README.md` is not read, even if I happened to carelessly
|
||||
copy-paste it in.
|
||||
|
||||
* `autostart-communication.conf` - chat/communication apps I am expected to have
|
||||
open or at least check at times
|
||||
* `autostart-fineid.conf` - Finnish electric identity card, that I also use as SSH key
|
||||
* `autostart-utilities.conf` - general utilities, like `nm-applet` or VPN etc.
|
||||
* `grimshot.conf` - screenshotting keybinds using `grimshot`
|
||||
* `i3-selenized-dark.conf` - selenized dark colour scheme
|
||||
* `keyboard.conf` - keyboard configuration
|
||||
* `media.conf` - media key configuration and autostarts related to it
|
||||
* `pointer-accel.conf` - pointer/mouse configuration, mainly setting acceleration
|
||||
profile to `flat`
|
||||
* `README.md` - you are currently reading this :wink:
|
||||
* `sedric.conf` - configuration specific to my laptop hostnamed `sedric`
|
||||
* `swaybar.conf` - `swaybar` configuration
|
||||
* `swayidle.conf` - `swayidle` configuration/autostart
|
||||
* `wlsunset-kotka.conf` - `wlsunset` configuration/autostart for my hometown for when
|
||||
I happen to visit for longer period of time
|
||||
* `wlsunset-lauttasaari.conf` - `wlsunset` configuration for my home neighbourhood
|
||||
* `zz-floating.conf` - configures windows that should float. For some reason
|
||||
that is inherited from my `i3` config, it tells to put float rules above the
|
||||
last line, so it should be read last and `z` is the last letter of English
|
||||
alphabet so it will hopefully be read last.
|
11
conf/sway/config.d/swayidle.conf
Normal file
11
conf/sway/config.d/swayidle.conf
Normal file
@ -0,0 +1,11 @@
|
||||
# Copied from `man swayidle`, except the $ScreenLockCmd that I don't
|
||||
# want to repeat.
|
||||
# This will lock your screen after 300 seconds of inactivity, then turn off
|
||||
# your displays after another 300 seconds, and turn your screens back on
|
||||
# when resumed. It will also lock your screen before your computer goes to
|
||||
# sleep.
|
||||
exec swayidle -w \
|
||||
timeout 300 "\"$ScreenLockCmd\"" \
|
||||
timeout 600 'swaymsg "output * dpms off"' \
|
||||
resume 'swaymsg "output * dpms on"' \
|
||||
before-sleep "\"$ScreenLockCmd\""
|
Loading…
Reference in New Issue
Block a user