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
|
#!/bin/bash
|
||||||
|
|
||||||
date=$(date +'%A, %d. %b %R')
|
date=$(date +'%A, %d. %b %I:%M %p')
|
||||||
|
|
||||||
battery=$(cat /sys/class/power_supply/BAT1/capacity)
|
battery=$(cat /sys/class/power_supply/BAT1/capacity)
|
||||||
|
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ set $baseB2 #073642
|
|||||||
set $baseB3 #002b36
|
set $baseB3 #002b36
|
||||||
set $custom #e1cab3
|
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 $green $green $baseB3 $blue
|
||||||
@@ -50,10 +50,12 @@ bindswitch --reload --locked lid:off output $laptop enable
|
|||||||
# Idle configuration
|
# Idle configuration
|
||||||
# Lock after 20 minutes
|
# Lock after 20 minutes
|
||||||
# Suspend after 30 minutes
|
# Suspend after 30 minutes
|
||||||
|
set $lock 'swaylock --image ~/images/wallpaper/wallpaper.png --effect-blur 7x5 --clock --indicator'
|
||||||
|
|
||||||
exec swayidle -w \
|
exec swayidle -w \
|
||||||
timeout 1200 'swaylock -f' \
|
timeout 1200 $lock \
|
||||||
timeout 1800 'systemctl suspend' \
|
timeout 1800 'systemctl suspend' \
|
||||||
before-sleep 'swaylock -f'
|
before-sleep $lock
|
||||||
|
|
||||||
# Input configuration
|
# Input configuration
|
||||||
input type:pointer {
|
input type:pointer {
|
||||||
@@ -159,7 +161,7 @@ input type:keyboard {
|
|||||||
bindsym $mod+Control+$right move workspace to output right
|
bindsym $mod+Control+$right move workspace to output right
|
||||||
|
|
||||||
# Layout stuff:
|
# Layout stuff:
|
||||||
workspace_layout stacking
|
workspace_layout tabbed
|
||||||
|
|
||||||
# Make the current focus fullscreen
|
# Make the current focus fullscreen
|
||||||
bindsym $mod+f fullscreen
|
bindsym $mod+f fullscreen
|
||||||
@@ -179,6 +181,8 @@ input type:keyboard {
|
|||||||
titlebar_border_thickness 0
|
titlebar_border_thickness 0
|
||||||
titlebar_padding 0
|
titlebar_padding 0
|
||||||
|
|
||||||
|
gaps inner 5
|
||||||
|
|
||||||
for_window [app_id="firefox" title="Firefox — Sharing Indicator"] kill
|
for_window [app_id="firefox" title="Firefox — Sharing Indicator"] kill
|
||||||
for_window [app_id="firefox"] move container to workspace number $ws2
|
for_window [app_id="firefox"] move container to workspace number $ws2
|
||||||
for_window [class="discord"] move container to workspace number $ws3
|
for_window [class="discord"] move container to workspace number $ws3
|
||||||
@@ -197,13 +201,14 @@ bar {
|
|||||||
|
|
||||||
colors {
|
colors {
|
||||||
separator $blue
|
separator $blue
|
||||||
background $baseA3
|
# background $baseA3
|
||||||
|
background $bar_bg
|
||||||
statusline $baseB2
|
statusline $baseB2
|
||||||
|
|
||||||
# workclass border backgr. text
|
# workclass border backgr. text
|
||||||
focused_workspace $green $green $baseB3
|
focused_workspace $green $green $baseB3
|
||||||
active_workspace $baseA3 $baseA3 $baseB1
|
active_workspace $bar_bg $bar_bg $baseB1
|
||||||
inactive_workspace $baseA3 $baseA3 $baseB1
|
inactive_workspace $bar_bg $bar_bg $baseB1
|
||||||
urgent_workspace $orange $orange $baseB3
|
urgent_workspace $orange $orange $baseB3
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user