Commit Graph

466 Commits

Author SHA1 Message Date
BluishHumility
116338f30d style(application_defaults): remove obsolete/unneeded options 2024-08-17 22:17:32 -04:00
BluishHumility
d0ec33f5df style: remove config.d/clamshell
Remove ~/.config/sway/config.d/clamshell since we are handling lid close events with logind.conf now.
2024-08-17 22:07:13 -04:00
Johannes Kamprad
0e135a7235 [sway-install.sh] adding -f to systemctl enable greetd.service (in case another DM is already enabled) 2024-08-17 19:47:40 +02:00
Johannes Kamprad
bfe37652af Update README.md 2024-08-16 09:51:57 +02:00
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
Johannes Kamprad
640f19f2f5 Update README.md 2024-07-31 08:50:08 +02:00
Johannes Kamprad
b05910d4af Merge pull request #73 from BluishHumility/main
merge bluish fork: housekeeping fixes, updates to waybar
2024-07-31 08:46:08 +02:00
BluishHumility
27eb8879fb Merge branch 'EndeavourOS-Community-Editions:main' into main 2024-07-31 03:39:34 +00: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
a091772d9a fix: update terminal in README.md, remove xfce4-terminal from packages-repository.txt
Update terminal in README.md and remove xfce4-terminal from packages-repository.txt. These files were overlooked with recent commit 24888b484b
2024-07-30 09:10:14 -04:00
BluishHumility
c7a6105f45 style: remove netinstall.yaml (no longer needed) 2024-07-30 08:58:49 -04:00
Johannes Kamprad
9d3b66dc95 Merge pull request #72 from BluishHumility/main
merge bluish fork: waybar updates, screenshotting scripts, autotiling script
2024-07-30 11:09:16 +02: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
4f8c150510 fix: foot > xfce4-terminal
The Foot commit hasn't been pushed yet (fix).
2024-07-29 22:08:14 -04:00
BluishHumility
5194823836 style: alphabetically sort package lists
The Sway package lists have been alphabetically sorted to make them easier to manage.
2024-07-29 22:03:41 -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
b8460a3c6a Merge branch 'EndeavourOS-Community-Editions:main' into main 2024-07-30 01:51:10 +00: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
Johannes Kamprad
7939e0fc0f [packages-repository.txt] removed nwg-looks double entry thanks to Ryx at telegram 2024-07-28 15:22:22 +02:00
Johannes Kamprad
6ecb22d97a Merge pull request #61 from mattrobineau/main
Fix wofi colour typo and set window background to match
2024-07-09 12:51:11 +02:00
Johannes Kamprad
6ba725480e Update README.md 2024-07-09 12:50:43 +02:00
Johannes Kamprad
b41ea3968f Update README.md 2024-07-09 12:49:51 +02:00
Johannes Kamprad
d052cc664b Update README.md 2024-07-09 12:48:35 +02:00
Matt Robineau
64e2908d46 Fix wofi colour typo and set window background to match 2024-06-27 07:52:04 -04:00
Johannes Kamprad
58f9a1fc0e Update packages-repository.txt 2024-06-22 17:13:42 +02:00
Johannes Kamprad
e5db908b92 Update setup_sway_isomode.bash 2024-06-22 14:24:47 +02:00
Johannes Kamprad
2e3ea3168f Merge pull request #59 from dwnorm2/screenshot-fix
fix grimshot script filepath
2024-05-11 13:49:44 +02:00
dwnorm2
8566d03ec2 change grimshot script filepath 2024-04-26 19:39:57 -05:00
Johannes Kamprad
24d54b8436 Update README.md 2024-04-18 18:27:10 +02:00
Johannes Kamprad
c72c225046 Merge pull request #58 from ringo32/main
added sway-contrib
2024-04-18 18:25:11 +02:00
ringo de kroon
04d4dc5652 Update packages-repository.txt
added sway-contrib
2024-04-18 15:51:46 +02:00
ringo de kroon
b4c47b2a8e Update screenshot.sh , sway-contrib
script path change
2024-04-18 15:50:50 +02:00
Johannes Kamprad
ac477cbe3c Update packages-repository.txt 2024-04-10 22:21:56 +02:00