-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Import Manjaro Sway user configuration
Take a copy so that this state can be got back to if needed.
- Loading branch information
Showing
7 changed files
with
82 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Default config for sway | ||
# | ||
# Copy this to ~/.config/sway/config and edit it to your liking. | ||
# | ||
# Read `man 5 sway` for a complete reference. | ||
|
||
# styles - set the folder for your theme definition file | ||
set $theme /usr/share/sway/themes/matcha-green | ||
|
||
# theme variables | ||
include $theme/theme.conf | ||
|
||
# user theme variable can override the global theme | ||
include $HOME/.config/sway/definitions.d/theme.conf | ||
|
||
# global variables | ||
include /etc/sway/definitions | ||
|
||
# user variables can override global definitions | ||
include $HOME/.config/sway/definitions.d/*.conf | ||
|
||
include /etc/sway/inputs/* | ||
|
||
# enable modes | ||
include /etc/sway/modes/* | ||
|
||
# only enable this if every app you use is compatible with wayland | ||
# xwayland disable | ||
|
||
# include additional configs e.g. to autostart applications | ||
include /etc/sway/config.d/* | ||
|
||
# user config | ||
include $HOME/.config/sway/config.d/*.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# add your extensions to the sway configuration here | ||
|
||
# when updating definitions files, make sure you include /etc/sway/autostart afterwards, so the definitions for those are updated based on your configuration |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# input "*" equals all input methods | ||
# to specify settings for a specific input method, use its identifier instead. | ||
# query the connected input methods: `swaymsg -t get_inputs` | ||
|
||
input * { | ||
# toggles through configured layouts via caps-lock | ||
# query the available layout toggles: `localectl list-x11-keymap-options | grep grp:` | ||
# query the available led indicators: `localectl list-x11-keymap-options | grep grp_led` | ||
# enables caps-lock led if not the first layout selected | ||
# regular caps-lock behavior can be reached using shift+caps-lock | ||
xkb_options grp:caps_toggle,grp_led:caps | ||
|
||
# query the available layouts: `localectl list-x11-keymap-layouts` | ||
xkb_layout "eu,us,de" | ||
|
||
# query the available variants for a given layout: `localectl list-x11-keymap-variants de` | ||
# list in the same order as the layouts - empty equals the default layout | ||
xkb_variant "," | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# definitions overrides for sway | ||
|
||
refer to /etc/sway/definitions for global definitions that can be overridden here | ||
|
||
e.g.: | ||
|
||
* change modifier key from Win/Pine-Key to Alt: `set $mod Mod1` | ||
* change the background image: `set $background /usr/share/wallpapers/manjaro-nudes.png` | ||
* make a foot client instance the default terminal for even faster terminal windows: `set $term footclient` | ||
* follow windows after moving them: `set $focus_after_move true` |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"include": [ | ||
"/usr/share/sway/templates/waybar/config.jsonc" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
@import "/usr/share/sway/templates/waybar/style.css"; |