| Post Reply | RetroFed Forum Forum Index » linuxmemes |
| Author | Message | ||
|---|---|---|---|
|
zjti8eit
lemmy.dbzer0.com
zjti8eit@lemmy.dbzer0.com Joined: 2023-10-29 |
|
||
| 152 Original | |||
tal
lemmy.today
tal@lemmy.todayJoined: 2023-10-04 |
One thing that I've found that I like is having my waybar not normally visible. When I need to glance at the bar, I can just hold the Sway modifier key to make it temporarily show up. in ~/.config/sway/config:
More screen space for whatever I'm actually doing. If something is so critical that it needs to grab my attention (e.g. battery low on a laptop) then I have it set up to send a message to the notification manager. |
||
| 27 | |||
|
rumschlumpel
feddit.org
rumschlumpel@feddit.org Joined: 2024-06-23 |
Examples? I feel like I could probably script more window manager-related things in my current setup, but I don't really have any ideas what to script. |
||
| 5 | |||
tal
lemmy.today
tal@lemmy.todayJoined: 2023-10-04 |
Examples? I feel like I could probably script more window manager-related things in my current setup, but I don't really have any ideas what to script.
Depends pretty wildly on what you like. Some things that I do: I never want automatic locking --- I always lock my machine manually when leaving it, with Super-\ (Super normally being the Windows key). I also want my monitor to power off after a few seconds in that mode, and then wake back up if I start typing. I also want to use a black screen rather than swaylock's default white. in my ~/.config/sway/config:
in ~/bin/myscreensaver.sh:
By default, X11 (and Wayland, apparently, though I've spent less time looking at Wayland's APIs) don't "store" clipboard state -- they just facilitate transferring copied data from one application to another application where it's being pasted. This means that if one copies data in one application and then closes that application, the clipboard contents go away. I don't really like this behavior. One way to avoid it is to use a "clipboard manager" --- a piece of software that saves a copy of the data itself. If you install In ~/.config/sway/config:
I want to get notifications when my laptop battery is low. Install
I don't use it that much, but Sway has a "scratchpad", where one can stuff a window that one is working with. With this, I send the current window there with Super-Shift-minus then make it pop back up as a floating window with Super-minus:
I have a mute button on my laptop's keyboard. I make that mute the default PipeWire sound sink. In ~/.config/sway/config:
I swap Caps Lock and left Control. This is how traditional Unix keyboards worked, and is generally more-friendly if you are using the Control key a lot more than Caps Lock. I'd consider this almost a precondition to use emacs without making your left pinky miserable. In ~/.config/sway/config:
That also sets my menu key (on my desktop) and right Alt key (on my laptop, which doesn't have a menu key) to be Compose. That way I can do things like type "ö" by hitting Compose o and then the double-quote key, or an em-dash ("—") with Compose hyphen hyphen hyphen. I don't like keeping my mouse pointer visible unless I'm actually moving it. In my ~/.config/sway/config, this will hide it after three seconds:
I like to have a way to, using the keyboard, hide the latest notification shown by swaync, the default Sway notification manager. In ~/.config/sway/config:
Then Super-backtick will hide the most recent notification to show up. |
||
| 20 | |||
|
rumschlumpel
feddit.org
rumschlumpel@feddit.org Joined: 2024-06-23 |
Depends pretty wildly on what you like. Some things that I do: I never want automatic locking --- I always lock my machine manually when leaving it, with Super-\ (Super normally being the Windows key). I also want my monitor to power off after a few seconds in that mode, and then wake back up if I start typing. I also want to use a black screen rather than swaylock's default white. in my ~/.con...
Neat, thanks! |
||
| 6 | |||
juipeltje
lemmy.world
juipeltje@lemmy.worldJoined: 2023-07-02 |
One thing that I've found that I like is having my waybar not normally visible. When I need to glance at the bar, I can just hold the Sway modifier key to make it temporarily show up. in ~/.config/sway/config: bar { swaybar_command waybar mode hide } More screen space for whatever I'm actually doing. If something is so critical that it needs to grab my attention (e.g. battery low on a laptop) t...
I'm assuming this is sway-specific, so just wanted to add that waybar itself also supports toggling hide/show bar by sending it a signal:
|
||
| 10 | |||
portnull
anarchist.nexus
portnull@anarchist.nexusJoined: 2026-01-29 |
Share your scripts! We want to see what fun stuff people are doing here |
||
| 5 | |||
|
CheesyFox
lemmy.sdf.org
CheesyFox@lemmy.sdf.org Joined: 2024-03-21 |
wait till you find out quickshell |
||
| 4 | |||
Samskara
sh.itjust.works
Samskara@sh.itjust.worksJoined: 2025-03-04 |
Examples? I feel like I could probably script more window manager-related things in my current setup, but I don't really have any ideas what to script.
Theme changes for all applications using tinty. |
||
| 1 | |||
| Post Reply |
Back to top |