pimp sway
This commit is contained in:
27
README.md
Normal file
27
README.md
Normal file
@@ -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)
|
||||
23
README.org
23
README.org
@@ -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)
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user