adding a bunch of changes for awesomewm
This commit is contained in:
parent
f764e5d4f8
commit
3724fd7564
|
@ -707,6 +707,7 @@
|
||||||
(when (= c.class "mpv") (awful.placement.centered c))
|
(when (= c.class "mpv") (awful.placement.centered c))
|
||||||
(when (= c.class "imv") (awful.placement.centered c))
|
(when (= c.class "imv") (awful.placement.centered c))
|
||||||
(when (= c.class "Sxiv") (awful.placement.centered c))
|
(when (= c.class "Sxiv") (awful.placement.centered c))
|
||||||
|
(when (= c.class "btop") (awful.placement.centered c))
|
||||||
(when (= c.class "Libre Presenter") (awful.placement.centered c))
|
(when (= c.class "Libre Presenter") (awful.placement.centered c))
|
||||||
(when (= c.name "Display Window") (set c.fullscreen true))
|
(when (= c.name "Display Window") (set c.fullscreen true))
|
||||||
(when (= c.name "presentation-window") (set c.fullscreen true))
|
(when (= c.name "presentation-window") (set c.fullscreen true))
|
||||||
|
@ -761,7 +762,7 @@
|
||||||
(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 "kwalletd5")
|
(awful.spawn.once "kwalletd5")
|
||||||
(awful.spawn.once "feh --bg-fill /home/chris/Pictures/wallpapers/tech.jpg")
|
(awful.spawn.once "feh --bg-fill /home/chris/Pictures/wallpapers/nixorange.webp")
|
||||||
(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")
|
||||||
|
|
|
@ -156,6 +156,8 @@
|
||||||
(awful.key [] "XF86MonBrightnessDown" (fn [] (awful.spawn.with_shell
|
(awful.key [] "XF86MonBrightnessDown" (fn [] (awful.spawn.with_shell
|
||||||
"brightnessctl s 5%- && lightget"))
|
"brightnessctl s 5%- && lightget"))
|
||||||
{:description "Decrease monitor brightness by 5%" :group "utilities"})
|
{:description "Decrease monitor brightness by 5%" :group "utilities"})
|
||||||
|
(awful.key [modkey ctrl] "i" (fn [] (awful.spawn "alacritty --class btop -e btop"))
|
||||||
|
{:description "launch btop" :group "utilities"})
|
||||||
;; Menubar
|
;; Menubar
|
||||||
;; (awful.key [ modkey ] "p" (fn [] (menubar.show))
|
;; (awful.key [ modkey ] "p" (fn [] (menubar.show))
|
||||||
;; {:description "show the menubar" :group "launcher"})
|
;; {:description "show the menubar" :group "launcher"})
|
||||||
|
@ -416,7 +418,7 @@
|
||||||
{:description "toggle floating" :group "client"})
|
{:description "toggle floating" :group "client"})
|
||||||
(awful.key [ modkey ctrl ] "Return" (fn [c] (: c :swap (awful.client.getmaster)))
|
(awful.key [ modkey ctrl ] "Return" (fn [c] (: c :swap (awful.client.getmaster)))
|
||||||
{:description "move to master" :group "client"})
|
{:description "move to master" :group "client"})
|
||||||
(awful.key [ modkey ctrl ] "c" awful.placement.centered
|
(awful.key [ modkey ctrl ] "c" (fn [c] (set c.placement awful.placement.centered))
|
||||||
{:description "move the floating window to the center of the screen" :group "layout"})
|
{:description "move the floating window to the center of the screen" :group "layout"})
|
||||||
(awful.key [ modkey ] "o" (fn [c] (: c :move_to_screen))
|
(awful.key [ modkey ] "o" (fn [c] (: c :move_to_screen))
|
||||||
{:description "move to screen" :group "client"})
|
{:description "move to screen" :group "client"})
|
||||||
|
|
|
@ -168,6 +168,8 @@
|
||||||
:instance [
|
:instance [
|
||||||
"pulsemixer"
|
"pulsemixer"
|
||||||
]
|
]
|
||||||
|
:class [
|
||||||
|
]
|
||||||
}
|
}
|
||||||
:properties {
|
:properties {
|
||||||
:floating true
|
:floating true
|
||||||
|
@ -179,6 +181,44 @@
|
||||||
:placement awful.placement.centered
|
:placement awful.placement.centered
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
:rule_any {
|
||||||
|
:instance [
|
||||||
|
"btop"
|
||||||
|
]
|
||||||
|
:class [
|
||||||
|
"btop"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
:properties {
|
||||||
|
:floating true
|
||||||
|
:raise true
|
||||||
|
:ontop true
|
||||||
|
:screen awful.screen.preferred
|
||||||
|
:width (dpi 1000)
|
||||||
|
:height (dpi 700)
|
||||||
|
:placement awful.placement.centered
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
:rule_any {
|
||||||
|
:instance [
|
||||||
|
"eww"
|
||||||
|
]
|
||||||
|
:class [
|
||||||
|
"eww"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
:properties {
|
||||||
|
:floating true
|
||||||
|
:raise true
|
||||||
|
:ontop true
|
||||||
|
:screen awful.screen.preferred
|
||||||
|
;; :width (dpi 600)
|
||||||
|
;; :height (dpi 200)
|
||||||
|
:placement (+ awful.placement.centered awful.placement.no_offscreen awful.placement.top)
|
||||||
|
}
|
||||||
|
}
|
||||||
;; Tell qb to open primarily on the secondary monitor
|
;; Tell qb to open primarily on the secondary monitor
|
||||||
{
|
{
|
||||||
:rule_any {
|
:rule_any {
|
||||||
|
|
|
@ -4,7 +4,7 @@ with lib;
|
||||||
{
|
{
|
||||||
services.emacs = {
|
services.emacs = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = with pkgs; ((emacsPackagesFor emacsPgtk).emacsWithPackages
|
package = with pkgs; ((emacsPackagesFor emacsGit).emacsWithPackages
|
||||||
(epkgs: with epkgs; [
|
(epkgs: with epkgs; [
|
||||||
vterm
|
vterm
|
||||||
magit
|
magit
|
||||||
|
@ -12,6 +12,8 @@ with lib;
|
||||||
consult-eglot
|
consult-eglot
|
||||||
org
|
org
|
||||||
org-roam
|
org-roam
|
||||||
|
denote
|
||||||
|
denote-refs
|
||||||
command-log-mode
|
command-log-mode
|
||||||
all-the-icons
|
all-the-icons
|
||||||
doom-modeline
|
doom-modeline
|
||||||
|
@ -114,7 +116,7 @@ with lib;
|
||||||
password-store
|
password-store
|
||||||
password-store-otp
|
password-store-otp
|
||||||
plz
|
plz
|
||||||
ement
|
elpaPackages.ement
|
||||||
mastodon
|
mastodon
|
||||||
qrencode
|
qrencode
|
||||||
gcmh
|
gcmh
|
||||||
|
|
22
picom.conf
22
picom.conf
|
@ -1,14 +1,14 @@
|
||||||
# Animations
|
# Animations
|
||||||
transition-length = 200
|
transition-length = 250
|
||||||
transition-pow-x = 1
|
transition-pow-x = 0.5
|
||||||
transition-pow-y = 1
|
transition-pow-y = 0.5
|
||||||
transition-pow-w = 1
|
transition-pow-w = 0.5
|
||||||
transition-pow-h = 1
|
transition-pow-h = 0.5
|
||||||
size-transition = true
|
size-transition = true
|
||||||
spawn-center = true
|
spawn-center = true
|
||||||
|
|
||||||
# Corners
|
# Corners
|
||||||
corner-radius = 0.0;
|
corner-radius = 18.0;
|
||||||
rounded-corners-exclude = [
|
rounded-corners-exclude = [
|
||||||
#"window_type = 'normal'",
|
#"window_type = 'normal'",
|
||||||
"class_g = 'awesome'",
|
"class_g = 'awesome'",
|
||||||
|
@ -18,7 +18,7 @@ rounded-corners-exclude = [
|
||||||
"class_g = 'Thunderbird'",
|
"class_g = 'Thunderbird'",
|
||||||
# "_NET_WM_STATE@[0]:32a *= '_NET_WM_STATE_FULLSCREEN'",
|
# "_NET_WM_STATE@[0]:32a *= '_NET_WM_STATE_FULLSCREEN'",
|
||||||
];
|
];
|
||||||
round-borders = 0;
|
round-borders = 18;
|
||||||
round-borders-exclude = [
|
round-borders-exclude = [
|
||||||
#"class_g = 'TelegramDesktop'",
|
#"class_g = 'TelegramDesktop'",
|
||||||
];
|
];
|
||||||
|
@ -30,7 +30,7 @@ round-borders-exclude = [
|
||||||
shadow = true;
|
shadow = true;
|
||||||
|
|
||||||
# The blur radius for shadows, in pixels. (defaults to 12)
|
# The blur radius for shadows, in pixels. (defaults to 12)
|
||||||
shadow-radius = 25;
|
shadow-radius = 30;
|
||||||
|
|
||||||
# The opacity of shadows. (0.0 - 1.0, defaults to 0.75)
|
# The opacity of shadows. (0.0 - 1.0, defaults to 0.75)
|
||||||
shadow-opacity = 1.0;
|
shadow-opacity = 1.0;
|
||||||
|
@ -81,7 +81,7 @@ shadow-exclude = [
|
||||||
"name = 'Display Window'",
|
"name = 'Display Window'",
|
||||||
"name = 'Video'",
|
"name = 'Video'",
|
||||||
"class_g = 'Conky'",
|
"class_g = 'Conky'",
|
||||||
"class_g = 'Rofi'",
|
# "class_g = 'Rofi'",
|
||||||
# "class_g = 'firefox'",
|
# "class_g = 'firefox'",
|
||||||
# "class_g = 'Alacritty'",
|
# "class_g = 'Alacritty'",
|
||||||
"class_g ?= 'Notify-osd'",
|
"class_g ?= 'Notify-osd'",
|
||||||
|
@ -157,7 +157,7 @@ inactive-opacity-override = false;
|
||||||
active-opacity = 0.90;
|
active-opacity = 0.90;
|
||||||
|
|
||||||
# Dim inactive windows. (0.0 - 1.0, defaults to 0.0)
|
# Dim inactive windows. (0.0 - 1.0, defaults to 0.0)
|
||||||
inactive-dim = 0.4
|
inactive-dim = 0.2
|
||||||
|
|
||||||
# Specify a list of conditions of windows that should always be considered focused.
|
# Specify a list of conditions of windows that should always be considered focused.
|
||||||
# focus-exclude = []
|
# focus-exclude = []
|
||||||
|
@ -342,7 +342,7 @@ use-ewmh-active-win = true;
|
||||||
# Unredirect all windows if a full-screen opaque window is detected,
|
# Unredirect all windows if a full-screen opaque window is detected,
|
||||||
# to maximize performance for full-screen windows. Known to cause flickering
|
# to maximize performance for full-screen windows. Known to cause flickering
|
||||||
# when redirecting/unredirecting windows. paint-on-overlay may make the flickering less obvious.
|
# when redirecting/unredirecting windows. paint-on-overlay may make the flickering less obvious.
|
||||||
unredir-if-possible = false;
|
unredir-if-possible = true;
|
||||||
|
|
||||||
# Delay before unredirecting the window, in milliseconds. Defaults to 0.
|
# Delay before unredirecting the window, in milliseconds. Defaults to 0.
|
||||||
# unredir-if-possible-delay = 0
|
# unredir-if-possible-delay = 0
|
||||||
|
|
|
@ -23,6 +23,8 @@ with lib;
|
||||||
audacity
|
audacity
|
||||||
krename
|
krename
|
||||||
kwallet-pam
|
kwallet-pam
|
||||||
|
nm-tray
|
||||||
|
# pantalaimon
|
||||||
plasma5Packages.kwallet
|
plasma5Packages.kwallet
|
||||||
sierra-breeze-enhanced
|
sierra-breeze-enhanced
|
||||||
libimobiledevice
|
libimobiledevice
|
||||||
|
@ -105,7 +107,7 @@ with lib;
|
||||||
rubberband
|
rubberband
|
||||||
texlive.combined.scheme-full
|
texlive.combined.scheme-full
|
||||||
wlroots
|
wlroots
|
||||||
picom-next
|
picom-jonaburg
|
||||||
pamixer
|
pamixer
|
||||||
playerctl
|
playerctl
|
||||||
jellyfin-mpv-shim
|
jellyfin-mpv-shim
|
||||||
|
|
|
@ -254,6 +254,24 @@
|
||||||
# services.kdeconnect.enable = true;
|
# services.kdeconnect.enable = true;
|
||||||
services.easyeffects.enable = true;
|
services.easyeffects.enable = true;
|
||||||
|
|
||||||
|
# For matrix clients that don't have e2ee
|
||||||
|
services.pantalaimon = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
Default = {
|
||||||
|
LogLevel = "Debug";
|
||||||
|
SSL = true;
|
||||||
|
};
|
||||||
|
local-matrix = {
|
||||||
|
Homeserver = "https://matrix.tfcconnection.org";
|
||||||
|
ListenAddress = "localhost";
|
||||||
|
ListenPort = 8008;
|
||||||
|
SSL = false;
|
||||||
|
IgnoreVerification = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
services.espanso = {
|
services.espanso = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
@ -488,7 +506,6 @@
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
xdg.desktopEntries = {
|
xdg.desktopEntries = {
|
||||||
mpv-slow = {
|
mpv-slow = {
|
||||||
name = "MPV";
|
name = "MPV";
|
||||||
|
|
Loading…
Reference in a new issue