Compare commits
2 commits
f82c3209de
...
41a041336e
Author | SHA1 | Date | |
---|---|---|---|
41a041336e | |||
3bc0b51a1c |
8 changed files with 41 additions and 13 deletions
23
bin/dmenu
Executable file
23
bin/dmenu
Executable file
|
@ -0,0 +1,23 @@
|
||||||
|
#!/bin/bash
|
||||||
|
# dmenu replacement script based on dmenu-term by Rohan Kumar
|
||||||
|
# avaiable here : https://git.sr.ht/~seirdy/term-dmenu
|
||||||
|
#
|
||||||
|
# Sincer abduco is not packaged on Debian, I rewrite this script to work
|
||||||
|
# with file redirection and not a named pipe.
|
||||||
|
|
||||||
|
export FZF_DEFAULT_OPTS="$* $FZF_DEFAULT_OPTS"
|
||||||
|
cleanup() {
|
||||||
|
rm -f $outfile
|
||||||
|
}
|
||||||
|
trap cleanup EXIT
|
||||||
|
outfile=$(mktemp /tmp/dmenu_XXXXX)
|
||||||
|
IFS=$(printf '\n')
|
||||||
|
input=$(cat)
|
||||||
|
export input
|
||||||
|
export outfile
|
||||||
|
|
||||||
|
foot -a launcher bash -c \
|
||||||
|
'echo "$(echo "$input" | fzf)" >$outfile 2>/dev/null' 2>/dev/null
|
||||||
|
|
||||||
|
cat <$outfile
|
||||||
|
# vi:ft=sh
|
|
@ -2,11 +2,11 @@
|
||||||
# script for launching my mail workspace
|
# script for launching my mail workspace
|
||||||
|
|
||||||
swaymsg 'workspace $ws2; layout splitv'
|
swaymsg 'workspace $ws2; layout splitv'
|
||||||
swaymsg 'exec $term --class=mail neomutt'
|
swaymsg 'exec $term --app-id=mail TERM=screen-256color neomutt'
|
||||||
swaymsg 'exec $term --class=cal ikhal'
|
swaymsg 'exec $term --app-id=cal ikhal'
|
||||||
|
|
||||||
while :; do
|
while :; do
|
||||||
sleep .2
|
sleep .2
|
||||||
swaymsg '[app_id="cal"] focus' 2>/dev/null && break
|
swaymsg '[app_id="cal"] focus' 2>/dev/null && break
|
||||||
done
|
done
|
||||||
swaymsg 'splith; exec $term'
|
swaymsg 'splith; exec $term'
|
||||||
|
|
|
@ -2,10 +2,10 @@
|
||||||
LocationMode=filename-entry
|
LocationMode=filename-entry
|
||||||
ShowHidden=false
|
ShowHidden=false
|
||||||
ShowSizeColumn=true
|
ShowSizeColumn=true
|
||||||
GeometryX=362
|
GeometryX=2122
|
||||||
GeometryY=184
|
GeometryY=270
|
||||||
GeometryWidth=876
|
GeometryWidth=876
|
||||||
GeometryHeight=558
|
GeometryHeight=566
|
||||||
SortColumn=name
|
SortColumn=name
|
||||||
SortOrder=ascending
|
SortOrder=ascending
|
||||||
StartupMode=recent
|
StartupMode=recent
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[Settings]
|
[Settings]
|
||||||
gtk-theme-name=Arc-Darker-solid
|
gtk-theme-name=Arc-Darker
|
||||||
gtk-font-name=DejaVu Sans 10
|
gtk-font-name=DejaVu Sans 12
|
||||||
gtk-cursor-theme-name=Adwaita
|
gtk-cursor-theme-name=Adwaita
|
||||||
gtk-cursor-theme-size=0
|
gtk-cursor-theme-size=0
|
||||||
gtk-button-images=0
|
gtk-button-images=0
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
# Brightness
|
# Brightness
|
||||||
bindsym XF86MonBrightnessDown exec brightnessctl set 2%-
|
|
||||||
bindsym XF86MonBrightnessUp exec brightnessctl set 2%+
|
bindsym $mod+F1 exec brightnessctl s 1-
|
||||||
|
bindsym $mod+F2 exec brightnessctl s +1
|
||||||
|
|
||||||
|
bindsym $mod+F3 exec pactl set-sink-volume @DEFAULT_SINK@ -5%
|
||||||
|
bindsym $mod+F4 exec pactl set-sink-volume @DEFAULT_SINK@ +5%
|
||||||
|
bindsym $mod+F5 exec pactl set-sink-mute @DEFAULT_SINK@ toggle
|
||||||
|
|
|
@ -1,2 +1 @@
|
||||||
output * bg ~/documents/ressources/wallpapers/building_cyberpunk.jpg fill
|
output * bg ~/documents/ressources/wallpapers/building_cyberpunk.jpg fill
|
||||||
output eDP-1 scale 2
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
exec swaymsg 'workspace $ws3; exec firefox'
|
exec swaymsg 'workspace $ws3; exec firefox'
|
||||||
# launch mail workspace
|
# launch mail workspace
|
||||||
exec ~/.local/bin/launch_mail_worksplace.sh
|
exec ~/.local/bin/launch_mail_worksplace.sh
|
||||||
|
exec dbus-update-activation-environment --systemd DISPLAY
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
set $term kitty
|
set $term foot
|
||||||
set $menu exec $term --class=launcher ~/.local/bin/launcher.sh
|
set $menu exec $term --app-id=launcher --title=launcher ~/.local/bin/launcher.sh
|
||||||
set $lock_bg ~/documents/ressources/wallpapers/morty.jpg
|
set $lock_bg ~/documents/ressources/wallpapers/morty.jpg
|
||||||
|
|
Reference in a new issue