Update wayland configs.

- update waybar to use wlr modules
- add back bindings for terminal2 in wayfire and make them launch foot
  with bigger font (can't be cozette because that's a bitmap font)
- add the gnome agent to the polkit service; since elogind isn't being
  used by default anymore, default the service to down as well
- add a 2h timeout to ssh-agent service
This commit is contained in:
Érico Nogueira 2022-05-01 02:44:40 -03:00
parent 60d922ca49
commit fa64fcc57c
5 changed files with 9 additions and 10 deletions

View File

@ -2,20 +2,16 @@
"layer": "top", // Waybar at top layer
"height": 25, // Waybar height (to be removed for auto height)
// Choose the order of the modules
"modules-left": ["sway/workspaces", "sway/mode", "custom/media", "tray"],
"modules-left": ["custom/media", "tray", "wlr/taskbar"],
"modules-center": ["sway/window"],
"modules-right": ["idle_inhibitor", "sndio",
"pulseaudio",
"network", "cpu", "memory", "temperature", "backlight", "battery", "custom/keyboard_layout", "clock"],
// Modules configuration
"sway/workspaces": {
"disable-scroll": false,
"all-outputs": true
},
"sway/mode": {
"format": "<span style=\"italic\">{}</span>"
"wlr/taskbar" : {
"on-click": "activate",
"on-click-middle": "close"
},
"idle_inhibitor": {

View File

@ -77,6 +77,7 @@ binding_mute = KEY_MUTE
binding_screenshot = KEY_PRINT
binding_screenshot_interactive = <shift> KEY_PRINT
binding_terminal = <super> KEY_ENTER
binding_terminal2 = <super> <shift> KEY_ENTER
command_0 = nwggrid
command_1 = swaylock
command_launcher = nwgdmenu
@ -89,7 +90,7 @@ command_mute = pactl set-source-mute @DEFAULT_SOURCE@ toggle
command_screenshot = grim $(date '+%F_%T').webp
command_screenshot_interactive = slurp | grim -g - $(date '+%F_%T').webp
command_terminal = footclient
command_terminal2 = foot
command_terminal2 = foot --font "IBM Plex Mono:size=14, DejaVu Sans Mono:size=15"
command_volume_down = pactl set-sink-volume @DEFAULT_SINK@ -5%
command_volume_up = pactl set-sink-volume @DEFAULT_SINK@ +5%
repeatable_binding_light_down = KEY_BRIGHTNESSDOWN

View File

View File

@ -1,4 +1,6 @@
#!/bin/execlineb -P
tryexec
{ /usr/libexec/polkit-gnome-authentication-agent-1 }
tryexec
{ /usr/lib/libexec/polkit-kde-authentication-agent-1 }
sleep 100

View File

@ -1,4 +1,4 @@
#!/bin/execlineb -P
importas -i dir XDG_RUNTIME_DIR
foreground { mkdir -p ${dir}/ssh }
ssh-agent -a ${dir}/ssh/agent -D
ssh-agent -a ${dir}/ssh/agent -t 7200 -D