diff --git a/.config/fish/functions/unity.fish b/.config/fish/functions/unity.fish new file mode 100644 index 0000000..8dafade --- /dev/null +++ b/.config/fish/functions/unity.fish @@ -0,0 +1,3 @@ +function unity --wraps='env GDK_SCALE=2 /home/joe/Documents/Unity/2022.3.7f1/Editor/Unity -projectPath' --description 'alias unity env GDK_SCALE=2 /home/joe/Documents/Unity/2022.3.7f1/Editor/Unity -projectPath' + env GDK_SCALE=2 /home/joe/Documents/Unity/2022.3.7f1/Editor/Unity -projectPath $argv +end diff --git a/.config/herbstluftwm/autostart b/.config/herbstluftwm/autostart index b911c5a..45a6b04 100755 --- a/.config/herbstluftwm/autostart +++ b/.config/herbstluftwm/autostart @@ -10,9 +10,11 @@ hc emit_hook reload xsetroot -solid '#5A8E3A' +emacs --daemon picom -b -c nitrogen --restore & polybar & +feh --no-fehbg --bg-center ~/.cache/randomwallpaper@iflow.space/wallpapers/wallpaper.png xset r rate 260 60 @@ -28,6 +30,7 @@ hc keybind $Mod-Ctrl-q quit hc keybind $Mod-Shift-r reload hc keybind $Mod-Shift-q close hc keybind $Mod-Return spawn kitty # use your $TERMINAL with xterm as fallback +hc keybind $Mod-v spawn emacsclient -nc -e "(joe/vterm-here)" hc keybind $Mod-space spawn emacsclient -cF "((visibility . nil))" -e "(emacs-run-launcher)" # basic movement in tiling and floating mode @@ -101,7 +104,7 @@ hc keybind $Mod-p pseudotile toggle # I.e. if there are two windows within a frame, the grid layout is skipped. hc keybind $Mod-w \ or , and . compare tags.focus.curframe_wcount = 2 \ - . cycle_layout +1 vertical horizontal max vertical grid \ + . cycle_layout +1 max horizontal \ , cycle_layout +1 # mouse @@ -110,6 +113,11 @@ hc mousebind $Mod-Button1 move hc mousebind $Mod-Button2 zoom hc mousebind $Mod-Button3 resize +# media +hc keybind XF86AudioRaiseVolume spawn bash -c 'amixer sset Master 4%+; paplay /usr/share/sounds/freedesktop/stereo/audio-volume-change.oga' +hc keybind XF86AudioLowerVolume spawn bash -c 'amixer sset Master 4%-; paplay /usr/share/sounds/freedesktop/stereo/audio-volume-change.oga' +hc keybind XF86AudioPlay spawn bash -c 'playerctl -a play-pause; paplay /usr/share/sounds/freedesktop/stereo/dialog-warning.oga' + # focus hc keybind $Mod-BackSpace cycle_monitor #hc keybind $Mod-Tab cycle_all +1 @@ -132,11 +140,12 @@ hc set frame_bg_transparent on hc set frame_transparent_width 5 hc set frame_gap 40 -hc attr theme.title_height 15 -hc attr theme.title_when always -hc attr theme.title_font 'Dejavu Sans:pixelsize=12' # example using Xft +hc attr theme.title_height 20 +hc attr theme.title_when one_tab +hc attr theme.title_align center +hc attr theme.title_font 'Liberation:pixelsize=15' # example using Xft # hc attr theme.title_font '-*-fixed-medium-r-*-*-13-*-*-*-*-*-*-*' -hc attr theme.title_depth 3 # space below the title's baseline +hc attr theme.title_depth 9 # space below the title's baseline hc attr theme.active.color '#345F0Cef' hc attr theme.title_color '#ffffff' hc attr theme.normal.color '#323232dd' @@ -146,9 +155,9 @@ hc attr theme.active.tab_color '#2B4F0Add' hc attr theme.active.tab_outer_color '#6C8257dd' hc attr theme.active.tab_title_color '#ababab' hc attr theme.normal.title_color '#898989' -hc attr theme.inner_width 1 +hc attr theme.inner_width 5 hc attr theme.inner_color black -hc attr theme.border_width 3 +hc attr theme.border_width 5 hc attr theme.floating.border_width 4 hc attr theme.floating.outer_width 1 hc attr theme.floating.outer_color black @@ -179,7 +188,7 @@ hc rule floatplacement=center #hc rule class~'(.*[Rr]xvt.*|.*[Tt]erm|Konsole)' focus=on hc rule windowtype~'_NET_WM_WINDOW_TYPE_(DIALOG|UTILITY|SPLASH)' floating=on hc rule windowtype='_NET_WM_WINDOW_TYPE_DIALOG' focus=on -hc rule title='emacs-run-launcher' floating=on floatplacement=center hook=emacs_launcher +hc rule title='emacs-run-launcher' floating=on floatplacement=center hc rule windowtype~'_NET_WM_WINDOW_TYPE_(NOTIFICATION|DOCK|DESKTOP)' manage=off hc rule fixedsize floating=on