Compare commits

...

2 commits

8 changed files with 41 additions and 13 deletions

23
bin/dmenu Executable file
View 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

View file

@ -2,11 +2,11 @@
# script for launching my mail workspace
swaymsg 'workspace $ws2; layout splitv'
swaymsg 'exec $term --class=mail neomutt'
swaymsg 'exec $term --class=cal ikhal'
swaymsg 'exec $term --app-id=mail TERM=screen-256color neomutt'
swaymsg 'exec $term --app-id=cal ikhal'
while :; do
sleep .2
sleep .2
swaymsg '[app_id="cal"] focus' 2>/dev/null && break
done
swaymsg 'splith; exec $term'

View file

@ -2,10 +2,10 @@
LocationMode=filename-entry
ShowHidden=false
ShowSizeColumn=true
GeometryX=362
GeometryY=184
GeometryX=2122
GeometryY=270
GeometryWidth=876
GeometryHeight=558
GeometryHeight=566
SortColumn=name
SortOrder=ascending
StartupMode=recent

View file

@ -1,6 +1,6 @@
[Settings]
gtk-theme-name=Arc-Darker-solid
gtk-font-name=DejaVu Sans 10
gtk-theme-name=Arc-Darker
gtk-font-name=DejaVu Sans 12
gtk-cursor-theme-name=Adwaita
gtk-cursor-theme-size=0
gtk-button-images=0

View file

@ -1,3 +1,8 @@
# 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

View file

@ -1,2 +1 @@
output * bg ~/documents/ressources/wallpapers/building_cyberpunk.jpg fill
output eDP-1 scale 2

View file

@ -1,3 +1,4 @@
exec swaymsg 'workspace $ws3; exec firefox'
# launch mail workspace
exec ~/.local/bin/launch_mail_worksplace.sh
exec dbus-update-activation-environment --systemd DISPLAY

View file

@ -1,3 +1,3 @@
set $term kitty
set $menu exec $term --class=launcher ~/.local/bin/launcher.sh
set $term foot
set $menu exec $term --app-id=launcher --title=launcher ~/.local/bin/launcher.sh
set $lock_bg ~/documents/ressources/wallpapers/morty.jpg