a lot of little things
This commit is contained in:
		
							parent
							
								
									c4cd1393a5
								
							
						
					
					
						commit
						69d1f1319d
					
				
					 9 changed files with 25 additions and 15 deletions
				
			
		| 
						 | 
					@ -738,14 +738,13 @@
 | 
				
			||||||
(awful.spawn.once "picom --experimental-backend")
 | 
					(awful.spawn.once "picom --experimental-backend")
 | 
				
			||||||
(awful.spawn.once "/usr/lib/polkit-kde-authentication-agent-1")
 | 
					(awful.spawn.once "/usr/lib/polkit-kde-authentication-agent-1")
 | 
				
			||||||
(awful.spawn.once "feh --bg-fill /home/chris/Pictures/wallpapers/tech.jpg")
 | 
					(awful.spawn.once "feh --bg-fill /home/chris/Pictures/wallpapers/tech.jpg")
 | 
				
			||||||
(awful.spawn.once "caffeine")
 | 
					 | 
				
			||||||
(awful.spawn.once "bluetoothctl power on")
 | 
					(awful.spawn.once "bluetoothctl power on")
 | 
				
			||||||
(awful.spawn.once "nextcloud --background")
 | 
					;; (awful.spawn.once "nextcloud --background")
 | 
				
			||||||
(awful.spawn.once "rbw-agent")
 | 
					(awful.spawn.once "rbw-agent")
 | 
				
			||||||
(awful.spawn.once "killall jellyfin-mpv-shim && jellyfin-mpv-shim")
 | 
					(awful.spawn.once "killall jellyfin-mpv-shim && jellyfin-mpv-shim")
 | 
				
			||||||
(awful.spawn.once "xset r rate 220 90")
 | 
					(awful.spawn.once "xset r rate 220 90")
 | 
				
			||||||
(awful.spawn.once "/usr/lib/kdeconnectd")
 | 
					(awful.spawn.once "/usr/lib/kdeconnectd")
 | 
				
			||||||
;;(awful.spawn.once "autorandr -c")
 | 
					(awful.spawn.once "emacs --daemon")
 | 
				
			||||||
(if laptop (awful.spawn.once "nm-applet"))
 | 
					(if laptop (awful.spawn.once "nm-applet"))
 | 
				
			||||||
(awful.spawn.once "xcape -e 'Super_L=Super_L|Control_L|Escape'")
 | 
					(awful.spawn.once "xcape -e 'Super_L=Super_L|Control_L|Escape'")
 | 
				
			||||||
(awful.spawn.once "xcape -e 'Alt_L=Super_L|W'")
 | 
					(awful.spawn.once "xcape -e 'Alt_L=Super_L|W'")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -153,7 +153,7 @@
 | 
				
			||||||
                     ;; Programs
 | 
					                     ;; Programs
 | 
				
			||||||
                     (awful.key [ modkey ] "d" (fn [] (awful.spawn "emacsclient -c -e '(dired-jump)'"))
 | 
					                     (awful.key [ modkey ] "d" (fn [] (awful.spawn "emacsclient -c -e '(dired-jump)'"))
 | 
				
			||||||
                                {:description "launch dired in new emacs frame" :group "apps" })
 | 
					                                {:description "launch dired in new emacs frame" :group "apps" })
 | 
				
			||||||
                     (awful.key [ modkey shift ] "d" (fn [] (awful.spawn "env QT_QPA_PLATFORMTHEME=qt5ct dolphin"))
 | 
					                     (awful.key [ modkey shift ] "d" (fn [] (awful.spawn "dolphin --platformtheme qt5ct"))
 | 
				
			||||||
                                {:description "launch dolphin file browser" :group "apps" })
 | 
					                                {:description "launch dolphin file browser" :group "apps" })
 | 
				
			||||||
                     (awful.key [ modkey ] "x" (fn [] (awful.spawn "emacsclient -c -e '(org-capture)'"
 | 
					                     (awful.key [ modkey ] "x" (fn [] (awful.spawn "emacsclient -c -e '(org-capture)'"
 | 
				
			||||||
                                                                   {:floating true :placement awful.placement.centered :class "org-agenda" :instance "org-agenda"}))
 | 
					                                                                   {:floating true :placement awful.placement.centered :class "org-agenda" :instance "org-agenda"}))
 | 
				
			||||||
| 
						 | 
					@ -172,7 +172,7 @@
 | 
				
			||||||
                                {:description "select pass" :group "apps" })
 | 
					                                {:description "select pass" :group "apps" })
 | 
				
			||||||
                     (awful.key [ modkey shift ] "w" (fn [] (awful.spawn "libreoffice --writer"))
 | 
					                     (awful.key [ modkey shift ] "w" (fn [] (awful.spawn "libreoffice --writer"))
 | 
				
			||||||
                                {:description "Open Writer" :group "apps" })
 | 
					                                {:description "Open Writer" :group "apps" })
 | 
				
			||||||
                     (awful.key [modkey] "b" (fn [] (awful.spawn "qblof"))
 | 
					                     (awful.key [modkey] "b" (fn [] (awful.spawn "fflof"))
 | 
				
			||||||
                                {:description "launch browser" :group "apps"})
 | 
					                                {:description "launch browser" :group "apps"})
 | 
				
			||||||
                     ;; rofi
 | 
					                     ;; rofi
 | 
				
			||||||
                     (awful.key [] "Menu" (fn [] (awful.spawn "/home/chris/.config/rofi/launchers-git/launcher.sh"))
 | 
					                     (awful.key [] "Menu" (fn [] (awful.spawn "/home/chris/.config/rofi/launchers-git/launcher.sh"))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,3 @@
 | 
				
			||||||
pcall(require, "luarocks.loader")
 | 
					 | 
				
			||||||
fennel = require("fennel")
 | 
					fennel = require("fennel")
 | 
				
			||||||
local gears = require("gears")
 | 
					local gears = require("gears")
 | 
				
			||||||
local naughty = require("naughty")
 | 
					local naughty = require("naughty")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -191,7 +191,7 @@ the close button is positioned to the far right */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* make urlbar rounded */
 | 
					/* make urlbar rounded */
 | 
				
			||||||
#urlbar{
 | 
					#urlbar{
 | 
				
			||||||
    margin-top: 21px !important;
 | 
					    margin-top: 38px !important;
 | 
				
			||||||
    padding-right: 10px !important;
 | 
					    padding-right: 10px !important;
 | 
				
			||||||
    padding-left: 10px !important;
 | 
					    padding-left: 10px !important;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					@ -206,7 +206,7 @@ the close button is positioned to the far right */
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#urlbar[breakout][breakout-extend] {
 | 
					#urlbar[breakout][breakout-extend] {
 | 
				
			||||||
     margin-top: 5px !important;
 | 
					     margin-top: 14px !important;
 | 
				
			||||||
     top: 0px !important;
 | 
					     top: 0px !important;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -217,11 +217,11 @@ the close button is positioned to the far right */
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#nav-bar-customization-target{
 | 
					#nav-bar-customization-target{
 | 
				
			||||||
    margin-top: -19px;
 | 
					    margin-top: -21px;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
#nav-bar-overflow-button{
 | 
					#nav-bar-overflow-button{
 | 
				
			||||||
    margin-top: -19px !important;
 | 
					    margin-top: -21px !important;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
#PanelUI-button{
 | 
					#PanelUI-button{
 | 
				
			||||||
    margin-top: -19px !important;
 | 
					    margin-top: -21px !important;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -45,6 +45,6 @@ settings:
 | 
				
			||||||
    https://outlook.office.com?mailtouri=%25s: false
 | 
					    https://outlook.office.com?mailtouri=%25s: false
 | 
				
			||||||
    https://staff.tfcconnection.org: true
 | 
					    https://staff.tfcconnection.org: true
 | 
				
			||||||
  tabs.show:
 | 
					  tabs.show:
 | 
				
			||||||
    global: switching
 | 
					    global: always
 | 
				
			||||||
  zoom.default:
 | 
					  zoom.default:
 | 
				
			||||||
    global: 100%
 | 
					    global: 100%
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -765,7 +765,7 @@ c.colors.webpage.darkmode.contrast = 0.5
 | 
				
			||||||
## `colors.webpage.darkmode.threshold.background` to 205.  - "With
 | 
					## `colors.webpage.darkmode.threshold.background` to 205.  - "With
 | 
				
			||||||
## selective inversion of everything": Combines the two variants   above.
 | 
					## selective inversion of everything": Combines the two variants   above.
 | 
				
			||||||
## Type: Bool
 | 
					## Type: Bool
 | 
				
			||||||
c.colors.webpage.darkmode.enabled = True
 | 
					c.colors.webpage.darkmode.enabled = False
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Render all colors as grayscale. This only has an effect when
 | 
					## Render all colors as grayscale. This only has an effect when
 | 
				
			||||||
## `colors.webpage.darkmode.algorithm` is set to `lightness-hsl` or
 | 
					## `colors.webpage.darkmode.algorithm` is set to `lightness-hsl` or
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										11
									
								
								scripts/emacsd
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										11
									
								
								scripts/emacsd
									
										
									
									
									
										Executable file
									
								
							| 
						 | 
					@ -0,0 +1,11 @@
 | 
				
			||||||
 | 
					#!/bin/sh
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					runem=$(pgrep -c emacs)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if [ $runem -gt 0 ]; then
 | 
				
			||||||
 | 
					    echo "emacs is running!"            
 | 
				
			||||||
 | 
					else
 | 
				
			||||||
 | 
					    echo "emacs isn't running! Starting it..."            
 | 
				
			||||||
 | 
					    emacs --daemon &
 | 
				
			||||||
 | 
					    echo "emacs started."            
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
| 
						 | 
					@ -4,6 +4,7 @@ export MOZ_ENABLE_WAYLAND=1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
exec ydotoold &
 | 
					exec ydotoold &
 | 
				
			||||||
exec systemctl enable --user --now libinput-gestures &
 | 
					exec systemctl enable --user --now libinput-gestures &
 | 
				
			||||||
 | 
					exec emacs --daemon &
 | 
				
			||||||
 | 
					
 | 
				
			||||||
xcape -e 'Super_L=Super_L|Control_L|Escape'
 | 
					xcape -e 'Super_L=Super_L|Control_L|Escape' &
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -5,7 +5,7 @@ set update.nag true
 | 
				
			||||||
set update.nagwait 7
 | 
					set update.nagwait 7
 | 
				
			||||||
set update.lastnaggedversion 1.14.0
 | 
					set update.lastnaggedversion 1.14.0
 | 
				
			||||||
set update.checkintervalsecs 86400
 | 
					set update.checkintervalsecs 86400
 | 
				
			||||||
set theme acario
 | 
					set theme snazzy
 | 
				
			||||||
set searchurls.gh https://github.com/search?utf8=✓&q=
 | 
					set searchurls.gh https://github.com/search?utf8=✓&q=
 | 
				
			||||||
set searchurls.y https://www.yewtu.be/search?q=
 | 
					set searchurls.y https://www.yewtu.be/search?q=
 | 
				
			||||||
set searchurls.aw https://wiki.archlinux.org/index.php?search=
 | 
					set searchurls.aw https://wiki.archlinux.org/index.php?search=
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue