diff --git a/README.md b/README.md new file mode 100644 index 0000000..4a9b34d --- /dev/null +++ b/README.md @@ -0,0 +1,27 @@ +# my dots + +dots for my lenovo yoga slim 7i pro 「itomori」, managed with `gnu stow`. + +Files can be `stow`'ed and un'`stow`'ed with `stow.sh`. +It will link all dotfiles to their correct place. + +## fonts +Fallsback are provided in `fallback-fonts/` +SFMono also provides icons. + +## notable deps +### for sway ++ `SwayNotificationCenter` ++ `sworkstyle` (application icons in status bar) ++ `swaylock-effects` (cooler lock) ++ `wlogout` (logout menu) ++ `bemenu` (dmenu replacement) ++ `slurp`, `grim`, `swappy` (screenshot) + +### other ++ `fzf` ++ `ripgrep` ++ `ripgrep-all` ++ `fd` (rust find) ++ `fu` (find icons) ++ all `fcitx5` stuff (data, gtk, qt, mozc) diff --git a/README.org b/README.org deleted file mode 100644 index 4659d36..0000000 --- a/README.org +++ /dev/null @@ -1,23 +0,0 @@ -#+TITLE:my dots - -dots for my lenovo yoga slim 7i pro 「itomori」, managed with =gnu stow=. - -Files can be =stow='ed and un'=stow='ed with =stow.sh=. -It will link all dotfiles to their correct place. - -* fonts -Fallsback are provided in =fallback-fonts/= -SFMono also provides icons. - -* notable deps -+ =fzf= -+ =ripgrep= -+ =ripgrep-all= -+ =fd= -+ =fu= (find icons) -+ =wlogout= -+ =bemenu= -+ =slurp=, =grim=, =swappy= -+ =SwayNotificationCenter= -+ =sworkstyle= -+ all =fcitx5= stuff (data, gtk, qt, mozc) diff --git a/files/sway/.config/sway/bar.sh b/files/sway/.config/sway/bar.sh index 4044de4..707cc91 100755 --- a/files/sway/.config/sway/bar.sh +++ b/files/sway/.config/sway/bar.sh @@ -1,6 +1,6 @@ #!/bin/bash -date=$(date +'%A, %d. %b %R') +date=$(date +'%A, %d. %b %I:%M %p') battery=$(cat /sys/class/power_supply/BAT1/capacity) diff --git a/files/sway/.config/sway/config b/files/sway/.config/sway/config index 2fb7209..9def148 100644 --- a/files/sway/.config/sway/config +++ b/files/sway/.config/sway/config @@ -31,13 +31,13 @@ set $baseB2 #073642 set $baseB3 #002b36 set $custom #e1cab3 -set $bar_bg #ffffff99 +set $bar_bg #ffffffbb -# clientclass border backgr. text indicator +# clientclass border backgr. text indicator client.focused $green $green $baseB3 $blue client.focused_inactive $baseA2 $baseA2 $baseB2 $violet -client.unfocused $baseA2 $baseA2 $baseB1 $baseA1 -client.urgent $yellow $yellow $baseB3 $orange +client.unfocused $baseA2 $baseA2 $baseB1 $baseA1 +client.urgent $yellow $yellow $baseB3 $orange # Output configuration set $laptop eDP-1 @@ -50,10 +50,12 @@ bindswitch --reload --locked lid:off output $laptop enable # Idle configuration # Lock after 20 minutes # Suspend after 30 minutes +set $lock 'swaylock --image ~/images/wallpaper/wallpaper.png --effect-blur 7x5 --clock --indicator' + exec swayidle -w \ - timeout 1200 'swaylock -f' \ + timeout 1200 $lock \ timeout 1800 'systemctl suspend' \ - before-sleep 'swaylock -f' + before-sleep $lock # Input configuration input type:pointer { @@ -159,7 +161,7 @@ input type:keyboard { bindsym $mod+Control+$right move workspace to output right # Layout stuff: - workspace_layout stacking + workspace_layout tabbed # Make the current focus fullscreen bindsym $mod+f fullscreen @@ -179,6 +181,8 @@ input type:keyboard { titlebar_border_thickness 0 titlebar_padding 0 + gaps inner 5 + for_window [app_id="firefox" title="Firefox — Sharing Indicator"] kill for_window [app_id="firefox"] move container to workspace number $ws2 for_window [class="discord"] move container to workspace number $ws3 @@ -197,13 +201,14 @@ bar { colors { separator $blue - background $baseA3 + # background $baseA3 + background $bar_bg statusline $baseB2 # workclass border backgr. text focused_workspace $green $green $baseB3 - active_workspace $baseA3 $baseA3 $baseB1 - inactive_workspace $baseA3 $baseA3 $baseB1 + active_workspace $bar_bg $bar_bg $baseB1 + inactive_workspace $bar_bg $bar_bg $baseB1 urgent_workspace $orange $orange $baseB3 }