i3: prep for laptop

This commit is contained in:
Marco Thomas
2023-02-02 16:11:22 +01:00
parent 5f1c6c3e09
commit 06e599b805
3 changed files with 7 additions and 6 deletions

View File

@@ -11,3 +11,6 @@ Un-`stow` with `./stow.sh -D`.
+ `fd` (rust find; `nvim`) + `fd` (rust find; `nvim`)
Also run `checkhealth` in `nvim` after a first install Also run `checkhealth` in `nvim` after a first install
## laptop
laptop uses `Xft.dpi: 192`

View File

@@ -34,7 +34,7 @@ exec --no-startup-id nm-applet
exec --no-startup-id blueman-applet exec --no-startup-id blueman-applet
# audio control # audio control
bindsym $mod+a exec --no-startup-id pavucontrol bindsym $mod+a exec --no-startup-id pavucontrol -t 1
# jp input - fcitx-5 fcitx5-configtool fcitx5-gtk4 fcitx5-qt fcitx5-mozc # jp input - fcitx-5 fcitx5-configtool fcitx5-gtk4 fcitx5-qt fcitx5-mozc
exec --no-startup-id fcitx5 exec --no-startup-id fcitx5
@@ -63,7 +63,7 @@ bindsym $mod+space exec --no-startup-id dmenu_run \
-i \ -i \
-l 10 \ -l 10 \
-p dmenu \ -p dmenu \
-fn SFMono-12 \ -fn SFMono-10 \
-nb "#2f383e" \ -nb "#2f383e" \
-nf "#d3c6aa" \ -nf "#d3c6aa" \
-sb "#93b259" \ -sb "#93b259" \
@@ -130,9 +130,7 @@ bar {
status_command i3status status_command i3status
position top position top
output DP-1 output DP-1
tray_padding 4 padding -5px 0 0 0
separator_symbol " "
mode hide
colors { colors {
statusline $fg statusline $fg
background $bg background $bg

View File

@@ -7,7 +7,7 @@ for id in $ids
do names="$names $(xprop -id $id| grep WM_CLASS |tr -d '" '|cut -d "=" -f2|awk -F "," '{print $NF}')($id)" do names="$names $(xprop -id $id| grep WM_CLASS |tr -d '" '|cut -d "=" -f2|awk -F "," '{print $NF}')($id)"
done done
flags='-m 0 -i -l 10 -p window -fn SFMono-12 -nb #2f383e -nf #d3c6aa -sb #93b259 -sf #2f383e' flags='-m 0 -i -l 10 -p window -fn SFMono-10 -nb #2f383e -nf #d3c6aa -sb #93b259 -sf #2f383e'
# Show Open window class names as a dmenu option # Show Open window class names as a dmenu option
target=$(echo $names | tr " " "\n" | dmenu $flags | grep -Eo "\(.*\)" | tr -d "()" ) target=$(echo $names | tr " " "\n" | dmenu $flags | grep -Eo "\(.*\)" | tr -d "()" )