configs  Check-in [7563585cda]

Overview
Comment:Update sway config
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 7563585cda44242a40290441feda501120d567bdba858f1820bf03e8d0641600
User & Date: js on 2022-11-29 00:26:34
Other Links: manifest | tags
Context
2022-12-04
23:45
sway: Handle multimedia keys check-in: 20324aeb88 user: js tags: trunk
2022-11-29
00:26
Update sway config check-in: 7563585cda user: js tags: trunk
2022-11-27
23:10
zshrc: Fix typo check-in: 82318b4ea2 user: js tags: trunk
Changes

Modified sway/config from [c24e8e4eb3] to [17c5416538].

19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Note: pass the final command to swaymsg so that the resulting window can be opened
# on the original workspace that the command was run on.
set $menu dmenu_path | wofi --show drun | xargs swaymsg exec --

### Output configuration
#
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
output * bg "/home/js/Bilder/Hintergrund/Dunkler Wald.jpg" fill
#
# Example configuration:
#
#   output HDMI-A-1 resolution 1920x1080 position 1920,0
#
# You can get the names of your outputs by running: swaymsg -t get_outputs
output * adaptive_sync on







|







19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Note: pass the final command to swaymsg so that the resulting window can be opened
# on the original workspace that the command was run on.
set $menu dmenu_path | wofi --show drun | xargs swaymsg exec --

### Output configuration
#
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
output * bg "/home/js/Bilder/Hintergrund/Wald, Nebel \& Sonnenstrahlen.jpg" fill
#
# Example configuration:
#
#   output HDMI-A-1 resolution 1920x1080 position 1920,0
#
# You can get the names of your outputs by running: swaymsg -t get_outputs
output * adaptive_sync on
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# You can get the names of your inputs by running: swaymsg -t get_inputs
# Read `man 5 sway-input` for more information about this section.
input type:touchpad {
	natural_scroll enabled
	click_method clickfinger
}

font pango:Source Code Pro 9

### Key bindings
#
# Basics:
#
    # Start a terminal
    bindsym $mod+Return exec $term







|







59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# You can get the names of your inputs by running: swaymsg -t get_inputs
# Read `man 5 sway-input` for more information about this section.
input type:touchpad {
	natural_scroll enabled
	click_method clickfinger
}

font pango:Cascadia Mono 9

### Key bindings
#
# Basics:
#
    # Start a terminal
    bindsym $mod+Return exec $term
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
#
# Read `man 5 sway-bar` for more information about this section.
bar {
    position top

    # When the status_command prints a new line to stdout, swaybar updates.
    # The default just shows the current date and time.
    status_command while date +'%Y-%m-%d %k:%M'; do sleep 1; done

    colors {
        statusline #ffffff
        background #323232
        inactive_workspace #32323200 #32323200 #5c5c5c
    }
}

include /etc/sway/config.d/*







|









208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
#
# Read `man 5 sway-bar` for more information about this section.
bar {
    position top

    # When the status_command prints a new line to stdout, swaybar updates.
    # The default just shows the current date and time.
    status_command while echo "$(</sys/class/power_supply/BAT0/capacity)% $(awk '{ printf $1*10^-6 \"W\" }' /sys/class/power_supply/BAT0/power_now) $(date +'%Y-%m-%d %k:%M')"; do sleep 1; done

    colors {
        statusline #ffffff
        background #323232
        inactive_workspace #32323200 #32323200 #5c5c5c
    }
}

include /etc/sway/config.d/*