Starting a sway config.
This commit is contained in:
BIN
ansible/roles/sway/files/bliss.jpg
Normal file
BIN
ansible/roles/sway/files/bliss.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 638 KiB |
26
ansible/roles/sway/files/config
Normal file
26
ansible/roles/sway/files/config
Normal file
@@ -0,0 +1,26 @@
|
||||
# Default config for sway
|
||||
#
|
||||
# Copy this to ~/.config/sway/config and edit it to your liking.
|
||||
#
|
||||
# Read `man 5 sway` for a complete reference.
|
||||
|
||||
### Variables
|
||||
#
|
||||
# Logo key. Use Mod1 for Alt.
|
||||
set $mod Mod4
|
||||
# set $mod Mod1
|
||||
# Home row direction keys, like vim
|
||||
set $left h
|
||||
set $down j
|
||||
set $up k
|
||||
set $right l
|
||||
# Your preferred terminal emulator
|
||||
set $term alacritty
|
||||
# Your preferred application launcher
|
||||
# Note: it's recommended that you pass the final command to sway
|
||||
# set $menu dmenu_path | dmenu | xargs swaymsg exec
|
||||
set $menu /usr/local/bin/wofi --show drun --gtk-dark
|
||||
|
||||
bindsym $mod+grave exec $term
|
||||
|
||||
include ~/.config/sway/config.d/*.conf
|
||||
2
ansible/roles/sway/files/electron-flags.conf
Normal file
2
ansible/roles/sway/files/electron-flags.conf
Normal file
@@ -0,0 +1,2 @@
|
||||
--enable-features=UseOzonePlatform
|
||||
--ozone-platform=wayland
|
||||
@@ -7,6 +7,8 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
if [[ ! -v XDG_RUNTIME_DIR ]]; then
|
||||
export XDG_RUNTIME_DIR=$(mktemp -d)
|
||||
chmod 0700 "$XDG_RUNTIME_DIR"
|
||||
|
||||
fi
|
||||
|
||||
sway |& tee $HOME/.config/swaylog
|
||||
exec sway -d &> $HOME/.config/swaylog
|
||||
|
||||
@@ -5,4 +5,4 @@ set -euo pipefail
|
||||
IFS=$'\n\t'
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
sway |& tee $HOME/.config/swaylog
|
||||
exec sway -d &> $HOME/.config/swaylog
|
||||
|
||||
2
ansible/roles/sway/files/mako_config
Normal file
2
ansible/roles/sway/files/mako_config
Normal file
@@ -0,0 +1,2 @@
|
||||
[mode=do-not-disturb]
|
||||
invisible=1
|
||||
BIN
ansible/roles/sway/files/spaceglenda300.jpg
Normal file
BIN
ansible/roles/sway/files/spaceglenda300.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 639 KiB |
7
ansible/roles/sway/files/xdg-desktop-portal-wlr-config
Normal file
7
ansible/roles/sway/files/xdg-desktop-portal-wlr-config
Normal file
@@ -0,0 +1,7 @@
|
||||
# [screencast]
|
||||
# output_name=HDMI-A-1
|
||||
# max_fps=30
|
||||
# exec_before=disable_notifications.sh
|
||||
# exec_after=enable_notifications.sh
|
||||
# chooser_type=simple
|
||||
# chooser_cmd=slurp -f %o -or
|
||||
Reference in New Issue
Block a user