Commit Graph

225 Commits

Author SHA1 Message Date
BluishHumility
6ddbb43058 merge bluish fork: add clipboard manager, update regreet config, use systemd for suspend events (#77)
* style(waybar): remove temperature module from style.css
* Remove temperature module from style.css. We aren't using the temperature module in the Waybar so we don't need css for it.

* feat: replace sddm with greetd
* Remove sddm and eos-sddm-theme from packages-repository.txt, add greetd and greetd-regreet
* Add directory in repo for Greetd configs
* Add executable bit to scripts so it doesn't have to be set post-install
* Create home_config directory for files to be deployed to user's home root (.gtkrc-2.0, .nanorc)
* Rework the user_commands.bash script with explanatory comments, debug echoes, rework some of the commands
* Update README.md to mention installing with user_commands.bash method, update display manager references from SDDM to Greetd

To do:
* Update sway-install.sh for new deployment routine
* Debug set_once.sh (do we need this? It currently isn't being used since nothing is setting it as executable)
* setup.sh > seems to be an old version of the install script. Remove?

* fix(readme): image URL

* fix(readme.md): re-upload images

* feat(readme.md): update installation instructions

Add an ordered list to the installation instructions to accompany the Welcome/install-file picture.

* style(regreet.toml): update comment for WLR_RENDERER_ALLOW_SOFTWARE variable

* feat(setup_sway_isomode.bash): add vm detection
* Detect vm with systemd-detect-virt
* Conditionally enable WLR_RENDERER_ALLOW_SOFTWARE in ReGreet config

* fix(regreet.toml): revert welcome message to default

* feat(xed.dconf): update xed setup routine
* Add new self-destructing setup script for applying xed.dconf
* xed_setup.sh will be deployed by Sway autostart config. Script applies config, sends a notification, removes script call in autostart config, and deletes itself.
* set_once.sh and the line which calls it in ~/.config/sway/config have been deleted. The script wasn't actually doing anything to begin with since it was not executable, but now all the stuff it was supposed to do is taken care of in other scripts.

* feat(sway-install.sh): update post-install setup script
Update sway-install.sh based on the new configuration layout. The script runs as root instead of calling sudo multiple times in the script, but restores ownership to the user's home directory deploying the configs (using logname to determine the username).

* fix(sway-install.sh): update relative paths, remove call to clone repo

* fix(README.md): correct URL for user_commands.bash installation method

* fix(packages-repository.txt): remove redundant bluez-utils entry
bluez-utils is already included in the default package list in a stock EndeavourOS install with no DE.

* feat(sway): incorporate 50-systemd-user.conf into autostart_applications
* XDG_CURRENT_DESKTOP=sway is already set by the greeter
* Importing environment variables for the user systemd service manager and updating the dbus environment with display variables can be set in the autostart config.

* feat: add pamixer, update multimedia keybindings
* Add `pamixer`, allowing the volume multimedia keys to be simplified
* Use `playerctl`'s `play-pause` command by default. Having separate bindings for "play" and "pause" is appropriate if "play" and "pause" are separate multimedia keys, but what is more common is for these to be the same key.

* style: move foot server startup to autostart_applications

* style: tidy up sway config, simplify code comments
Get the config organized and make it easier to read through.

* feat: replace wofi with fuzzel
Wofi still works, but there is a notice on their sourcehut page (https://hg.sr.ht/~scoopta/wofi) that it is not actively maintained anymore. Fuzzel is an alternative picker from the same dev as Foot terminal. It is fast, highly customizable, and low resource usage.

In addition to being used as an application launcher, Wofi was being used in a script for the power menu and in a window switcher script. Those scripts have been re-written to provide the same functionality, but using Fuzzel for the picker.

* Add Fuzzel to packages-repository.txt, remove Wofi
* Add fuzzel.ini, remove Wofi configs and scripts
* Add new Fuzzel scripts to ~/.config/sway/scripts
* Update Waybar config (change Wofi calls to Fuzzel calls)
* Update Wofi mentions in cheatsheet, keyhint script, and README

* feat: add local desktop files with NoDisplay=true
Add local desktop files with NoDisplay=true for default applications which have a desktop file, but are not intended to be started from the launcher. Rather, these are utilities or menus which are meant to be started from within another application. Adding the NoDisplay=true property will help declutter the launcher's menu.

The installation scripts have also been updated to accomodate these files during the config deployment routine.

* feat(regreet): update environment variables in regreet config
* Update [env] section in ReGreet config to include environment variables set in ~/.config/environment.d/30-envvars.conf
* Add explanatory comments
* Remove ~/.config/environment.d/30-envvars.conf since it is no longer needed

* feat(logind.conf.d): remove suspend scripts and use systemd for this
Since we are using systemd, we can just send an idlehint and let systemd manage suspend events (including lid closing, etc) with logind.conf. This will be cleaner and less complicated than the scripted solutions.
* Add a drop-in for logind.conf.d to suspend after 10 minutes
* Add an accomodation to the config to lock the screen before suspend events

* feat: add cliphist
* Add [cliphist](https://github.com/sentriz/cliphist) clipboard manager
* Add watch for clipboard events to autostart config
* Add keybindings to launch cliphist with Fuzzel

* style(sway-input): remove tap_button_map lrm
Remove tap_button_map lrm from input config. lrm is the default so we do not need to explicitly set it here. Also the comment was rather confusing and unhelpful.

* feat(power_menu.sh): add selection numbers to confirmation menu
The selection numbers are handy for making a selection from the num pad, however it is needed to come back over to the arrow keys or the home row on the confirmation prompt. Adding the selection numbers to the confirmation prompt will allow completing the interaction on the num pad if desired.

* fix(regreet): correct formatting for new environment variables

* Update README.md

* Update instruction for setting WLR_NO_HARDWARE_CURSORS
* Remove mention of LXAppearance since we don't use it
* Update Wofi screenshot to Fuzzel screenshot

* feat(sudoers.d/custom): add env_keep variables for sudo
Add a sudoers drop-in for passing environment variables to sudo for QT_QPA_PLATFORM, WAYLAND_DISPLAY, and XDG_RUNTIME_DIR. These variables are commonly needed for running applications as sudo on Wayland.
2024-08-16 09:50:31 +02:00
BluishHumility
aa3802ae5c merge bluish fork: switch display manager to greetd, overhaul installation scripts, update readme (#75)
* style(waybar): remove temperature module from style.css
* Remove temperature module from style.css. We aren't using the temperature module in the Waybar so we don't need css for it.

* feat: replace sddm with greetd
* Remove sddm and eos-sddm-theme from packages-repository.txt, add greetd and greetd-regreet
* Add directory in repo for Greetd configs
* Add executable bit to scripts so it doesn't have to be set post-install
* Create home_config directory for files to be deployed to user's home root (.gtkrc-2.0, .nanorc)
* Rework the user_commands.bash script with explanatory comments, debug echoes, rework some of the commands
* Update README.md to mention installing with user_commands.bash method, update display manager references from SDDM to Greetd

To do:
* Update sway-install.sh for new deployment routine
* Debug set_once.sh (do we need this? It currently isn't being used since nothing is setting it as executable)
* setup.sh > seems to be an old version of the install script. Remove?

* fix(readme): image URL

* fix(readme.md): re-upload images

* feat(readme.md): update installation instructions

Add an ordered list to the installation instructions to accompany the Welcome/install-file picture.

* style(regreet.toml): update comment for WLR_RENDERER_ALLOW_SOFTWARE variable

* feat(setup_sway_isomode.bash): add vm detection
* Detect vm with systemd-detect-virt
* Conditionally enable WLR_RENDERER_ALLOW_SOFTWARE in ReGreet config

* fix(regreet.toml): revert welcome message to default

* feat(xed.dconf): update xed setup routine
* Add new self-destructing setup script for applying xed.dconf
* xed_setup.sh will be deployed by Sway autostart config. Script applies config, sends a notification, removes script call in autostart config, and deletes itself.
* set_once.sh and the line which calls it in ~/.config/sway/config have been deleted. The script wasn't actually doing anything to begin with since it was not executable, but now all the stuff it was supposed to do is taken care of in other scripts.

* feat(sway-install.sh): update post-install setup script
Update sway-install.sh based on the new configuration layout. The script runs as root instead of calling sudo multiple times in the script, but restores ownership to the user's home directory deploying the configs (using logname to determine the username).

* fix(sway-install.sh): update relative paths, remove call to clone repo

* fix(README.md): correct URL for user_commands.bash installation method

* fix(packages-repository.txt): remove redundant bluez-utils entry
bluez-utils is already included in the default package list in a stock EndeavourOS install with no DE.

* feat(sway): incorporate 50-systemd-user.conf into autostart_applications
* XDG_CURRENT_DESKTOP=sway is already set by the greeter
* Importing environment variables for the user systemd service manager and updating the dbus environment with display variables can be set in the autostart config.

* feat: add pamixer, update multimedia keybindings
* Add `pamixer`, allowing the volume multimedia keys to be simplified
* Use `playerctl`'s `play-pause` command by default. Having separate bindings for "play" and "pause" is appropriate if "play" and "pause" are separate multimedia keys, but what is more common is for these to be the same key.

* style: move foot server startup to autostart_applications

* style: tidy up sway config, simplify code comments
Get the config organized and make it easier to read through.

* feat: replace wofi with fuzzel
Wofi still works, but there is a notice on their sourcehut page (https://hg.sr.ht/~scoopta/wofi) that it is not actively maintained anymore. Fuzzel is an alternative picker from the same dev as Foot terminal. It is fast, highly customizable, and low resource usage.

In addition to being used as an application launcher, Wofi was being used in a script for the power menu and in a window switcher script. Those scripts have been re-written to provide the same functionality, but using Fuzzel for the picker.

* Add Fuzzel to packages-repository.txt, remove Wofi
* Add fuzzel.ini, remove Wofi configs and scripts
* Add new Fuzzel scripts to ~/.config/sway/scripts
* Update Waybar config (change Wofi calls to Fuzzel calls)
* Update Wofi mentions in cheatsheet, keyhint script, and README

* feat: add local desktop files with NoDisplay=true
Add local desktop files with NoDisplay=true for default applications which have a desktop file, but are not intended to be started from the launcher. Rather, these are utilities or menus which are meant to be started from within another application. Adding the NoDisplay=true property will help declutter the launcher's menu.

The installation scripts have also been updated to accomodate these files during the config deployment routine.
2024-08-04 18:45:57 +02:00
Rudy ツ
492c3820da [URGENT] Fix autoscroll on browser with touchpad without having to touch the touchpad to scroll (#76)
* Update input

* Update input
2024-08-04 18:45:18 +02:00
BluishHumility
3ceeb66ce6 feat(waybar): update clock module
* Add a clock icon
* Change alt format to AM/PM
* Change tooltip to mini calendar, with scrollable months
2024-07-30 23:37:58 -04:00
BluishHumility
b59b849519 feat(waybar): update backlight module
* Remove `backlight#value`--no need for two separate modules for this, value and icon can live together in a single module.
* Add graduated icons (the cirle fills/empties as the brightness is scrolled up or down)
* Change scroll interval to 5% (1% is pretty low)
2024-07-30 23:34:57 -04:00
BluishHumility
11f4728f47 feat(waybar): update module spacing
* Add spacing to memory, cpu, audio, keyboard, and battery modules to separate the modules from each other a little more and get a more consistent look on the bar.
* Update the icons for memory, cpu (so the icon looks more like what it actually is)
2024-07-30 23:28:41 -04:00
BluishHumility
63f29b2927 feat(waybar): update idle inhibitor
* Update spacing for idle inhibitor module.
* Update tooltip to make it self-explanatory (the tooltip says what the module is)
2024-07-30 22:21:24 -04:00
BluishHumility
32c5a43d75 feat(waybar): update network module
Update network module to display bandwidth in Waybar, and move SSID or interface name/IP address information to the tooltip. It's a little more interesting to look at, and somewhat more relevant to have at a glance since the information changes dynamically.

The separate config for `tun0` interface has been scrapped in favor of having one module which presents whichever interface is currently active.
2024-07-30 22:09:31 -04:00
BluishHumility
6e7f6ec4a3 feat(waybar): adjust font size 2024-07-30 21:57:30 -04:00
BluishHumility
895f5493c4 fix(foot): set default font size to 11 2024-07-30 13:52:49 -04:00
BluishHumility
0ca1b78e5c style(waybar): restructure waybar configs
Restructure Waybar config and style.css so the modules are ordered in the configs the same way they are ordered on the actual bar. The purpose of this is to make it easier for users to find things for making changes, and to help keep the configs organized.
2024-07-30 10:45:33 -04:00
BluishHumility
08d2ceb35f style(waybar): remove custom firefox, files, terminal modules
Remove custom modules from config. These modules are not actually being used (the Firefox, files, and terminal modules in the Waybar are the sway/workspaces module).
2024-07-30 09:14:21 -04:00
BluishHumility
b587658225 feat(waybar): update waybar colors
Darken the grey shade of the Waybar, lighten the shade of the Waybar font.
2024-07-29 22:36:59 -04:00
BluishHumility
bc386105e5 feat: add autotiling script
Add Piotr Miller's very excellent autotiling script.

https://github.com/nwg-piotr/autotiling
2024-07-29 22:24:22 -04:00
BluishHumility
e343a92ab7 feat(waybar): update keyboard module, update input config file
Update the Waybar keyboard module to move the keyboard layout to the tooltip when hovering over the module (and out of the actual Waybar).

This will contribute to a cleaner look, and help trim down the lengthiness of the Waybar without sacrificing the utility of the module.

* Move keyboard layout to tooltip
* The module comments also referenced a script for sending signal, but there is no such script. The comments have been updated to reference example code added to ~/.config/sway/config.d/input

In addition to adding the example code, ~/.config/sway/config.d/input itself was updated to address some issues and add additional functionality.

* Remove the note about finding the touchpad ID and adding it to the config. This has not been necessary on Sway for a long time.
* Remove the `input type:keyboard xkb_layout "us"` line. This line is not actually doing anything since it will be overwritten by the `exec_always` block right below it every time Sway is reloaded.
* Enable numlock by default
* Add a commented block with example config for setting up keyboard layout toggle.
* Add explanatory comments.
2024-07-29 22:22:50 -04:00
BluishHumility
246e7ae60e feat(waybar): update waybar font
Change Waybar font to JetBrainsMono so it matches the terminal font.
2024-07-29 22:20:35 -04:00
BluishHumility
24888b484b Change the default terminal to [Foot terminal](https://codeberg.org/dnkl/foot), a Wayland-first terminal which is the default for the Sway project. Compared to xfce4-terminal, Foot is faster and more lightweight (both in size and resource usage). It also has native Sixel support, which allows rendering images in the terminal.
I have added a foot.ini which preserves the color scheme that had been set up on xfce4-terminal (with the purple background and transparency), except using the Material color scheme for terminal fonts. The bright colors of the fonts look good on the purple, and are easier to read than the old font colors.

Other changes in this PR:
* Add foot to package lists; remove xfce4-terminal
* Autostart foot-server in Sway config
* Change default terminal in Sway config
* Change Waybar on-click actions to use footclient instead of xfce4-terminal
* Update cheatsheet, keyhint files
* Update Wofi, Thunar configs to use footclient instead of xfce4-terminal
2024-07-29 22:17:44 -04:00
BluishHumility
678c3a1fcb feat(screenshots): add swappy, add screenshot scripts and keybindings
* Add [swappy](https://github.com/jtheoof/swappy) for handling screenshots. It's a nice Flameshot-like tool that allows adding simple annotations (drawing circles, arrows, text, etc) to screenshots and can save to file or pass to the clipboard.
* Add keybindings for "snip", screenshot window, and screenshot current display.
* Add scripts for the screenshot window and screenshot current display functions.
* `packages-repository.txt` has also been alphabetically sorted to make it easier to work with.
2024-07-29 22:00:22 -04:00
BluishHumility
3a74020703 feat(waybar): add sway/window to modules-left
Add sway/window module next to workspaces. It prints the title of the focused window in the Waybar.
2024-07-29 21:55:37 -04:00
BluishHumility
a255d71340 feat(waybar): change rocket icon to eos logo
Change the icon of the launcher module from a rocket to the EOS logo.
2024-07-29 21:53:55 -04:00
BluishHumility
8234c3750c feat(waybar): update battery module
* Remove `format-charging` and `format-plugged` settings in favor of just using the graduated battery level icons. Also  is a depreciated/removed Nerd Font icon. If we want to visually differentiate the charging state, CSS rules in `~/.config/waybar/style.css` might be a better way to handle that.
* Remove the commented lines because it is unlikely we will ever want these specific settings.
* Remove PBPbattery module and associated script. It is all commented out anyway. This feature has been built-in to Waybar for some time now; a custom script is no longer needed.
2024-07-29 21:45:02 -04:00
BluishHumility
ceaf04e7b1 feat(waybar): update pulseaudio module
* Set `scroll-step` to 2 and remove `on-scroll-up`/`on-scroll-down` action (which is doing the same thing)
* Format as icon|volume instead of volume|icon for consistency with other modules
* Remove `format-source` settings since it seems to be set up inconsistently. This feature also behaves oddly by default (for example, it cannot have an on-click or scroll behavior independent from volume--kind of unintuitive). If a user wants to use this feature it will likely work better to break out source into a separate module like this: https://github.com/Alexays/Waybar/issues/925#issuecomment-1377761376
* Remove `format-bluetooth` settings since it is not defining a different behavior after removing `format-source`
* Replaced , 婢, , and  icons since they are all depreciated/removed from Nerd Font icon set
* Added additional icons to `default` to have different icons for low, medium, and high volume settings
2024-07-29 21:40:16 -04:00
Matt Robineau
64e2908d46 Fix wofi colour typo and set window background to match 2024-06-27 07:52:04 -04:00
dwnorm2
8566d03ec2 change grimshot script filepath 2024-04-26 19:39:57 -05:00
ringo de kroon
b4c47b2a8e Update screenshot.sh , sway-contrib
script path change
2024-04-18 15:50:50 +02:00
ringo32
7e24ef52bc removed autostart and in condif environmental settings using standard sway example. and adding environment.d change .profile to point blanc 2023-12-16 17:57:43 +01:00
Johannes Kamprad
5e8c1dcad7 Merge pull request #53 from fhoekstra/patch-2
Add example for binding workspaces to outputs
2023-12-08 12:43:19 +01:00
Johannes Kamprad
63f8d85e2f Merge pull request #52 from fhoekstra/patch-1
Fix screen-sharing for Firefox & Chromium
2023-12-08 12:42:56 +01:00
fhoekstra
53b789ef50 Add example for binding workspaces to outputs 2023-11-14 21:16:49 +01:00
fhoekstra
108fe3a47c Fix screen-sharing for Firefox & Chromium
As per points 1 and 2 in 0fdb2c4b10/src/session.sh

Discussion of why this is not in Sway is here: https://github.com/swaywm/sway/pull/4876#issuecomment-570790128
2023-11-14 21:05:32 +01:00
Marcel Bischoff
7ffe6001f2 Explain MOD key like in README 2023-07-14 14:24:34 +02:00
Marcel Bischoff
64c45f161b Wrap introduction to 80 chars 2023-07-14 14:21:55 +02:00
Marcel Bischoff
37aa039778 Change Linux Unicode character to MOD 2023-07-14 14:20:26 +02:00
Marcel Bischoff
9fe4a4fd96 Fix grammar and spelling. Suggest updated wording. 2023-07-14 14:16:29 +02:00
Marcel Bischoff
39044668d9 Remove trailing white space 2023-07-14 14:03:17 +02:00
Alex R
717fdadf3a check for acpi before getting lid state 2023-06-17 22:41:05 -05:00
gammafn
ef94277af2 Fix: Sway 1.8 changed "dpms" to "power" 2022-12-04 10:53:03 -06:00
Mark Medum Bundgaard
dfff284e61 Removing pamixer and a bit of linting 2022-11-26 22:12:05 +01:00
OdiousImp2604
e3dc420e84 Merge branch 'main' into new 2022-11-14 20:41:30 +00:00
OdiousImp2604
b01efeaf93 Increased strictness for Libary rule 2022-11-14 20:40:22 +00:00
OdiousImp2604
46fcee90a4 Merge pull request #41 from EndeavourOS-Community-Editions/new
Fixed firefox floating issue
2022-11-02 20:32:32 +00:00
OdiousImp2604
f654f4c10d Fixed firefox floating issue 2022-11-02 20:31:49 +00:00
Robert-Jan de Dreu
7d1269fa61 Fix #29: Use pactl directly to control audio volume and mute 2022-10-20 09:13:28 +02:00
OdiousImp2604
70ea1c36e5 Merge pull request #35 from KingMichaelPark/main
feat: Update script logic to exit gracefully and avoid unnecessary exceptions
2022-10-10 19:23:30 +01:00
Jeidnx
23a210f978 Update style.css for waybar 2022-09-30 07:57:25 +02:00
Michael Park
7552cca140 feat: Update script logic to fit logic
- The get commands return empty lists so
  subsequent code iterates without failure over
  a None object.
- Set getting the name attribute to a one-liner
- Don't run unnecessary code if user exits wofi
  prompt
2022-09-19 20:50:10 +01:00
wouter9000
8d02fbec7b Make screenshot case insensitive
Edit wofi config.screenshot to make the screenshot menu case insensitive.
2022-09-10 14:22:00 +02:00
Ian Wright
260cd3a158 Remove angle brackets from laptop display name 2022-08-21 15:00:20 -04:00
wouter9000
189b9a868b Update config
Fixes the custom/weather module

All the user needs to do is uncomment and fill in their location
2022-08-08 18:25:37 +02:00
OdiousImp2604
9a06d824e8 Update uca.xml 2022-06-21 11:12:41 +01:00