~aodag/dotfiles

dad4a5dab040c76b8fbb5a62aa2fc15f1a01637f — Atsushi Odagiri 2 months ago f0291bd
sway revised
3 files changed, 21 insertions(+), 18 deletions(-)

M config/ranger/rc.conf
M config/sway/config
M config/waybar/config
M config/ranger/rc.conf => config/ranger/rc.conf +1 -1
@@ 117,7 117,7 @@ set preview_images true
#   Only for users who run X11 in GNU/Linux.
# set preview_images_method w3m
# set preview_images_method kitty
set preview_images_method ueberzug
# set preview_images_method ueberzug

# Delay in seconds before displaying an image with the w3m method.
# Increase it in case of experiencing display corruption.

M config/sway/config => config/sway/config +19 -16
@@ 232,30 232,33 @@ bindsym $mod+Ctrl+p  exec grimshot save window
# Status Bar:
#
# Read `man 5 sway-bar` for more information about this section.
bar {
    position top
# 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 %l:%M:%S %p'; do sleep 1; done
    status_command SCRIPT_DIR=~/.config/i3blocks i3blocks
    font Noto Sans CJK JP
    status_padding 10
#     # 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 %l:%M:%S %p'; do sleep 1; done
#     status_command SCRIPT_DIR=~/.config/i3blocks i3blocks
#     font Noto Sans CJK JP
#     status_padding 10

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

include /etc/sway/config.d/*
for_window [class="Conky"] border none
for_window [class="Conky"] move container to workspace 1
for_window [class="Steam"] move workspace 6
for_window [app_id="mpv"] floating enable, border none, resize set 1920 1080
for_window [class="Sxiv"] floating enable, border none, resize set 1920 1080
for_window [class="MuPDF"] floating enable, border none, resize set 1920 1080
exec fcitx5 -d
exec mako
exec pasystray

M config/waybar/config => config/waybar/config +1 -1
@@ 3,7 3,7 @@
    "spacing": 4, // Gaps between modules (4px)
    "modules-left": ["sway/workspaces", "sway/mode"],
    "modules-center": ["sway/window"],
    "modules-right": ["custom/waybar-mpris", "idle_inhibitor", "pulseaudio", "network", "cpu", "memory", "temperature", "backlight", "keyboard-state", "sway/language", "battery", "battery#bat2", "clock", "tray"],
    "modules-right": ["custom/waybar-mpris", "idle_inhibitor", "pulseaudio", "network", "cpu", "memory", "sway/language", "clock", "tray"],
    "keyboard-state": {
        "numlock": true,
        "capslock": true,