Compare commits

...

10 commits

7 changed files with 13 additions and 17 deletions

View file

@ -82,10 +82,10 @@
<!-- Set default monospace font --> <!-- Set default monospace font -->
<alias> <alias>
<family>monospace</family> <family>monospace</family>
<prefer><family>Noto Sans Mono</family></prefer> <prefer><family>JetBrains Mono</family></prefer>
</alias> </alias>
<alias> <alias>
<family>Noto Sans Mono</family> <family>JetBrains Mono</family>
<default><family>monospace</family></default> <default><family>monospace</family></default>
</alias> </alias>

View file

@ -7,8 +7,6 @@ hide-when-typing=yes
[main] [main]
font=monospace:pixelsize=19 font=monospace:pixelsize=19
pad=4x4
initial-window-size-chars=120x24 initial-window-size-chars=120x24
include = ~/.cache/themer.lua/foot include = ~/.cache/themer.lua/foot

View file

@ -1,6 +1,5 @@
#!/bin/sh #!/bin/sh
dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=river
riverctl spawn "pgrep -x pipewire >/dev/null || pipewire" riverctl spawn "pgrep -x pipewire >/dev/null || pipewire"
riverctl spawn "/usr/libexec/xdg-desktop-portal-wlr" riverctl spawn "/usr/libexec/xdg-desktop-portal-wlr"
@ -28,3 +27,5 @@ riverctl float-filter-add app-id fzf
riverctl spawn "pgrep -x stacktile >/dev/null || stacktile --per-tag-config --drop-empty-configs --primary-sublayout=stack" riverctl spawn "pgrep -x stacktile >/dev/null || stacktile --per-tag-config --drop-empty-configs --primary-sublayout=stack"
riverctl spawn "killall zeit-bg-daemon ; zeit-bg-daemon" riverctl spawn "killall zeit-bg-daemon ; zeit-bg-daemon"
riverctl default-layout stacktile riverctl default-layout stacktile
dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=river

View file

@ -72,6 +72,7 @@ define_tag $((1 << 0)) M
define_tag $((1 << 1)) Comma define_tag $((1 << 1)) Comma
define_tag $((1 << 2)) Period define_tag $((1 << 2)) Period
define_tag $((1 << 3)) Apostrophe define_tag $((1 << 3)) Apostrophe
define_tag $((1 << 4)) V
all_tags=$(((1 << 32) - 1)) all_tags=$(((1 << 32) - 1))
riverctl map normal $mod 0 set-focused-tags $all_tags riverctl map normal $mod 0 set-focused-tags $all_tags
@ -93,6 +94,7 @@ riverctl map passthrough $mod F11 enter-mode normal
riverctl map normal $mod grave spawn 'pamixer --default-source --toggle-mute' riverctl map normal $mod grave spawn 'pamixer --default-source --toggle-mute'
riverctl map normal $mod Z spawn 'swaync-client --close-latest'
riverctl map normal $mod X spawn 'swaync-client -t' riverctl map normal $mod X spawn 'swaync-client -t'
riverctl map normal $mod C spawn 'notify-send --expire-time=3000 --app-name=zeit "$(zeit --no-colors tracking)"' riverctl map normal $mod C spawn 'notify-send --expire-time=3000 --app-name=zeit "$(zeit --no-colors tracking)"'

View file

@ -206,11 +206,12 @@ bar {
} }
} }
client.focused $accent $accent $background client.focused $accent $accent $background $accentish
client.focused_inactive $muted $muted $background client.focused_inactive $muted $muted $background
client.unfocused $backgroundish $backgroundish $foreground client.unfocused $backgroundish $backgroundish $foreground
titlebar_border_thickness 1 titlebar_border_thickness 1
bindsym $mod+z exec swaync-client --close-latest
bindsym $mod+x exec swaync-client -t bindsym $mod+x exec swaync-client -t
bindsym Print exec 'grimshot copy area' bindsym Print exec 'grimshot copy area'
@ -229,8 +230,6 @@ bindsym --locked XF86MonBrightnessUp exec 'brillo -A 5; brillo -O'
bindsym --locked XF86MonBrightnessDown exec 'brillo -U 5; brillo -O' bindsym --locked XF86MonBrightnessDown exec 'brillo -U 5; brillo -O'
default_border pixel 10 default_border pixel 10
smart_borders on
smart_gaps on
focus_follows_mouse no focus_follows_mouse no

View file

@ -15,10 +15,6 @@ html, body {
line-height: 1.3; line-height: 1.3;
} }
h1, h2, h3, h4, h5, h6 {
text-align: center;
}
img { img {
max-width: 100%; max-width: 100%;
} }

View file

@ -5,12 +5,12 @@ if ! "$REMOTE" && test "$(tty)" = /dev/tty1; then
XDG_RUNTIME_DIR="/run/user/$(id -u)" XDG_RUNTIME_DIR="/run/user/$(id -u)"
mkdir -p "$XDG_RUNTIME_DIR" mkdir -p "$XDG_RUNTIME_DIR"
chmod 700 "$XDG_RUNTIME_DIR" chmod 700 "$XDG_RUNTIME_DIR"
mkdir -p "$HOME/.local/share/river" mkdir -p "$HOME/.local/share/sway"
log="$HOME/.local/share/river/$(date +%Y-%m-%d@%H:%M:%S).log" log="$HOME/.local/share/sway/$(date +%Y-%m-%d@%H:%M:%S).log"
exec env \ exec env \
XDG_RUNTIME_DIR="$XDG_RUNTIME_DIR" \ XDG_RUNTIME_DIR="$XDG_RUNTIME_DIR" \
XDG_CURRENT_DESKTOP=river \ XDG_CURRENT_DESKTOP=sway \
XDG_SESSION_DESKTOP=river \ XDG_SESSION_DESKTOP=sway \
dbus-run-session river >"$log" 2>&1 dbus-run-session sway >"$log" 2>&1
fi fi
source ~/.zshrc source ~/.zshrc