diff --git a/.config/fish/functions/unity.fish b/.config/fish/functions/unity.fish deleted file mode 100644 index 8dafade..0000000 --- a/.config/fish/functions/unity.fish +++ /dev/null @@ -1,3 +0,0 @@ -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 e2250f5..a85d962 100755 --- a/.config/herbstluftwm/autostart +++ b/.config/herbstluftwm/autostart @@ -11,7 +11,7 @@ hc emit_hook reload xsetroot -solid '#5A8E3A' emacs --daemon -picom -b -c +# picom -b -c polybar & feh --no-fehbg --bg-center ~/.cache/randomwallpaper@iflow.space/wallpapers/wallpaper.png pcloud & @@ -41,10 +41,10 @@ hc keybind $Mod-Left focus left hc keybind $Mod-Down focus down hc keybind $Mod-Up focus up hc keybind $Mod-Right focus right -hc keybind $Mod-h focus left -hc keybind $Mod-j focus down -hc keybind $Mod-k focus up -hc keybind $Mod-l focus right +hc keybind $Mod-h cycle_all -1 +hc keybind $Mod-j focus --levels=frame down +hc keybind $Mod-k focus --levels=frame up +hc keybind $Mod-l cycle_all +1 # moving clients in tiling and floating mode hc keybind $Mod-Shift-Left shift -e left @@ -64,15 +64,15 @@ hc keybind $Mod-o split right 0.5 hc keybind $Mod-Control-space split explode # resizing frames and floating clients -resizestep=0.02 +resizestep=0.2 hc keybind $Mod-Control-h resize left +$resizestep hc keybind $Mod-Control-j resize down +$resizestep hc keybind $Mod-Control-k resize up +$resizestep hc keybind $Mod-Control-l resize right +$resizestep -hc keybind $Mod-Control-Left resize left +$resizestep -hc keybind $Mod-Control-Down resize down +$resizestep -hc keybind $Mod-Control-Up resize up +$resizestep -hc keybind $Mod-Control-Right resize right +$resizestep +hc keybind $Mod-Control-Left resize left -$resizestep +hc keybind $Mod-Control-Down resize down -$resizestep +hc keybind $Mod-Control-Up resize up -$resizestep +hc keybind $Mod-Control-Right resize right -$resizestep # tags tag_names=( {1..9} ) @@ -85,9 +85,16 @@ for i in "${!tag_names[@]}" ; do if [ -n "$key" ] ; then hc keybind "$Mod-$key" use_index "$i" hc keybind "$Mod-Shift-$key" move_index "$i" + hc keybind "$Mod-Ctrl-$key" chain , move_index "$i" , use_index "$i" + hc keybind "$Mod-Ctrl-Shift-$key" chain , move_index "$i" , use_index "$i" fi done +for monitor in $(hc list_clients | cut -d: -f1) ; do + # start it on each monitor + "$panel" "$monitor" & +done + # cycle through tags hc keybind $Mod-period use_index +1 --skip-visible hc keybind $Mod-comma use_index -1 --skip-visible @@ -95,6 +102,7 @@ hc keybind $Mod-comma use_index -1 --skip-visible # layouting hc keybind $Mod-r remove hc keybind $Mod-s floating toggle +hc keybind $Mod-c spawn center_window.sh hc keybind $Mod-f fullscreen toggle hc keybind $Mod-Shift-f set_attr clients.focus.floating toggle hc keybind $Mod-Shift-d set_attr clients.focus.decorated toggle @@ -157,15 +165,15 @@ hc set frame_border_width 1 hc set show_frame_decorations 'focused_if_multiple' hc set frame_bg_transparent on hc set frame_transparent_width 5 -hc set frame_gap 40 +hc set frame_gap 0 hc set tabbed_max true -hc attr theme.title_height 20 +hc attr theme.title_height 13 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 'Jetbrains Mono Nerd Font:pixelsize=12' # example using Xft # hc attr theme.title_font '-*-fixed-medium-r-*-*-13-*-*-*-*-*-*-*' -hc attr theme.title_depth 9 # space below the title's baseline +hc attr theme.title_depth 8 # space below the title's baseline hc attr theme.active.color '#345F0Cef' hc attr theme.title_color '#ffffff' hc attr theme.normal.color '#323232dd' @@ -177,7 +185,7 @@ hc attr theme.active.tab_title_color '#ababab' hc attr theme.normal.title_color '#898989' hc attr theme.inner_width 5 hc attr theme.inner_color black -hc attr theme.border_width 5 +hc attr theme.border_width 3 hc attr theme.floating.border_width 4 hc attr theme.floating.outer_width 1 hc attr theme.floating.outer_color black @@ -192,7 +200,7 @@ done hc attr theme.tiling.outer_width 1 hc attr theme.background_color '#141414' -hc set window_gap 30 +hc set window_gap 0 hc set frame_padding 0 hc set smart_window_surroundings off hc set smart_frame_surroundings on @@ -208,6 +216,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 instance='Godot_Engine' floating=on hc rule title~'emacs-run-.*' floating=on floatplacement=center hc rule title~'^Glut.*' floating=on floatplacement=center hc rule windowtype~'_NET_WM_WINDOW_TYPE_(NOTIFICATION|DOCK|DESKTOP)' manage=off @@ -222,6 +231,9 @@ hc unlock # hc set_monitors 1280x1024+0+0 1280x1024+1280+0 # or simply: # hc detect_monitors +horgap=15 +# hc pad 0 40 $horgap 15 $horgap + # find the panel panel=~/.config/herbstluftwm/panel.sh @@ -231,7 +243,14 @@ for monitor in $(hc list_monitors | cut -d: -f1) ; do "$panel" "$monitor" & done +hc keybind $Mod-Ctrl-1 spawn herbstclient load "$(cat ~/.cache/1.hlwm)" +hc keybind $Mod-Ctrl-2 spawn herbstclient load "$(cat ~/.cache/2.hlwm)" +hc keybind $Mod-Ctrl-3 spawn herbstclient load "$(cat ~/.cache/3.hlwm)" +hc keybind $Mod-Ctrl-4 spawn herbstclient load "$(cat ~/.cache/4.hlwm)" + + tag1=$(cat ~/.cache/1.hlwm) tag2=$(cat ~/.cache/2.hlwm) -hc load 1 "$tag1" -hc load 2 "$tag2" +# hc load 1 "$tag1" +# hc load 2 "$tag2" +# hc load 3 "$tag2" diff --git a/.config/picom/picom.conf b/.config/picom/picom.conf index f7d7753..d6a7e2b 100644 --- a/.config/picom/picom.conf +++ b/.config/picom/picom.conf @@ -69,19 +69,21 @@ shadow-exclude = [ # Fading # ################################# - +fading = true; # Fade windows during opacity changes +fade-delta = 100; # The time between steps in a fade in milliseconds +fade-in-step = 1; # Opacity change between steps while fading in +fade-out-step = 1; # Opacity change between steps while fading out # Fade windows in/out when opening/closing and when opacity changes, # unless no-fading-openclose is used. # fading = false -fading = true; - +# fading = false; # Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028) # fade-in-step = 0.028 -fade-in-step = 0.03; +# fade-in-step = 0.08; # Opacity change between steps while fading out. (0.01 - 1.0, defaults to 0.03) # fade-out-step = 0.03 -fade-out-step = 0.03; +# fade-out-step = 0.08; # The time between steps in fade step, in milliseconds. (> 0, defaults to 10) # fade-delta = 10 @@ -103,11 +105,11 @@ fade-out-step = 0.03; # Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0) # inactive-opacity = 1 -inactive-opacity = 0.8; +inactive-opacity = 1.0; # Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default) # frame-opacity = 1.0 -frame-opacity = 0.7; +frame-opacity = 1.0; # Let inactive opacity set by -i override the '_NET_WM_WINDOW_OPACITY' values of windows. # inactive-opacity-override = true @@ -319,7 +321,7 @@ use-damage = true; # calls are finished before picom starts drawing. Needed on nvidia-drivers # with GLX backend for some users. # -# xrender-sync-fence = false +xrender-sync-fence = true # GLX backend: Use specified GLSL fragment shader for rendering window # contents. Read the man page for a detailed explanation of the interface. diff --git a/.config/polybar/config.ini b/.config/polybar/config.ini index 6d48e2a..4b07292 100644 --- a/.config/polybar/config.ini +++ b/.config/polybar/config.ini @@ -29,21 +29,23 @@ disabled = #707880 [bar/example] width = 100% -height = 20pt +height = 16pt radius = 6 +bottom = true +margin-top = 0 ; dpi = 96 background = ${colors.background} foreground = ${colors.foreground} -line-size = 3pt +line-size = 1pt -border-size = 7pt +border-size = 0pt border-color = #00000000 padding-left = 0 -padding-right = 1 +padding-right = 0 module-margin = 1 @@ -52,7 +54,7 @@ separator-foreground = ${colors.disabled} ; font-0 = BigBlueTermPlus Nerd Font:style=Regular:size=14;4 ; font-0 = Inconsolata LGC Nerd Font:style=Regular:size=14;4 -font-0 = JetBrainsMono Nerd Font;2 +font-0 = JetBrainsMono Nerd Font:style=Regular:size=10;4 modules-left = xworkspaces xwindow modules-right = pulseaudio xkeyboard bt filesystem memory cpu wlan date