making awesome work again
This commit is contained in:
parent
c134490230
commit
6dcb3c6efd
|
@ -8,7 +8,7 @@
|
||||||
(local beautiful (require "beautiful"))
|
(local beautiful (require "beautiful"))
|
||||||
(local xresources (require "beautiful.xresources"))
|
(local xresources (require "beautiful.xresources"))
|
||||||
;; Notification library
|
;; Notification library
|
||||||
;; (local naughty (require "naughty"))
|
(local naughty (require "naughty"))
|
||||||
(local menubar (require "menubar"))
|
(local menubar (require "menubar"))
|
||||||
;; Enable hotkeys help widget for VIM and other apps
|
;; Enable hotkeys help widget for VIM and other apps
|
||||||
;; when client with a matching name is opened:
|
;; when client with a matching name is opened:
|
||||||
|
@ -20,27 +20,27 @@
|
||||||
;; my splits
|
;; my splits
|
||||||
(local clientrules (require "rules"))
|
(local clientrules (require "rules"))
|
||||||
(local keybindings (require "keybindings"))
|
(local keybindings (require "keybindings"))
|
||||||
;; (local notifications (require "notifications"))
|
(local notifications (require "notifications"))
|
||||||
|
|
||||||
;; Error handling
|
;; Error handling
|
||||||
;; Check if awesome encountered an error during startup and fall back to
|
;; Check if awesome encountered an error during startup and fall back to
|
||||||
;; another config (This code will only ever execute for the fallback config)
|
;; another config (This code will only ever execute for the fallback config)
|
||||||
;; (when awesome.startup_errors
|
(when awesome.startup_errors
|
||||||
;; (naughty.notify {:preset naughty.config.presets.critical
|
(naughty.notify {:preset naughty.config.presets.critical
|
||||||
;; :title "Oops, there were errors during startup!"
|
:title "Oops, there were errors during startup!"
|
||||||
;; :text awesome.startup_errors}))
|
:text awesome.startup_errors}))
|
||||||
|
|
||||||
;; Handle runtime errors after startup
|
;; Handle runtime errors after startup
|
||||||
;; (do
|
(do
|
||||||
;; (var in_error false)
|
(var in_error false)
|
||||||
;; (awesome.connect_signal "debug::error" (fn [err]
|
(awesome.connect_signal "debug::error" (fn [err]
|
||||||
;; ;; Make sure we don't go into an endless error loop
|
;; Make sure we don't go into an endless error loop
|
||||||
;; (when (not in_error)
|
(when (not in_error)
|
||||||
;; (set in_error true)
|
(set in_error true)
|
||||||
;; (naughty.notify {:preset naughty.config.presets.critical
|
(naughty.notify {:preset naughty.config.presets.critical
|
||||||
;; :title "Oops, an error happened!"
|
:title "Oops, an error happened!"
|
||||||
;; :text (tostring err)})
|
:text (tostring err)})
|
||||||
;; (set in_error false)))))
|
(set in_error false)))))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -616,18 +616,18 @@
|
||||||
;; Rules
|
;; Rules
|
||||||
(ruled.client.append_rules clientrules)
|
(ruled.client.append_rules clientrules)
|
||||||
|
|
||||||
;; (ruled.notification.connect_signal
|
(ruled.notification.connect_signal
|
||||||
;; "request::rules"
|
"request::rules"
|
||||||
;; (fn []
|
(fn []
|
||||||
;; (ruled.notification.append_rules notifications
|
(ruled.notification.append_rules notifications
|
||||||
;; ;; {
|
;; {
|
||||||
;; ;; :rule { }
|
;; :rule { }
|
||||||
;; ;; :properties {
|
;; :properties {
|
||||||
;; ;; :border-width 0
|
;; :border-width 0
|
||||||
;; ;; :border_color "#000000"
|
;; :border_color "#000000"
|
||||||
;; ;; :opacity 0.9
|
;; :opacity 0.9
|
||||||
;; ;; :shape gears.shape.rounded_rect}}
|
;; :shape gears.shape.rounded_rect}}
|
||||||
;; )))
|
)))
|
||||||
|
|
||||||
;; Signals
|
;; Signals
|
||||||
;; Signal function to execute when a new client appears.
|
;; Signal function to execute when a new client appears.
|
||||||
|
@ -699,4 +699,4 @@
|
||||||
(awful.spawn.once "xset r rate 220 90")
|
(awful.spawn.once "xset r rate 220 90")
|
||||||
(awful.spawn.once "autorandr -c")
|
(awful.spawn.once "autorandr -c")
|
||||||
(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 "latte-dock")
|
;; (awful.spawn.once "latte-dock")
|
||||||
|
|
|
@ -46,9 +46,9 @@
|
||||||
:globalkeys (gears.table.join
|
:globalkeys (gears.table.join
|
||||||
(awful.key [ modkey shift ] "s" hotkeys_popup.show_help
|
(awful.key [ modkey shift ] "s" hotkeys_popup.show_help
|
||||||
{ :description "show help" :group "awesome"})
|
{ :description "show help" :group "awesome"})
|
||||||
(awful.key [ modkey ] "Left" awful.tag.viewprev
|
(awful.key [ modkey alt ] "h" awful.tag.viewprev
|
||||||
{:description "view previous" :group "tag"})
|
{:description "view previous" :group "tag"})
|
||||||
(awful.key [ modkey ] "Right" awful.tag.viewnext
|
(awful.key [ modkey alt ] "l" awful.tag.viewnext
|
||||||
{:description "view next" :group "tag"})
|
{:description "view next" :group "tag"})
|
||||||
(awful.key [ modkey ] "Escape" awful.tag.history.restore
|
(awful.key [ modkey ] "Escape" awful.tag.history.restore
|
||||||
{:description "go back" :group "tag"})
|
{:description "go back" :group "tag"})
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
:propertites {
|
:propertites {
|
||||||
:border-width beautiful.border_width
|
:border-width beautiful.border_width
|
||||||
:border_color "#000000"
|
:border_color "#000000"
|
||||||
:opacity 0.9
|
:opacity 0.3
|
||||||
:shape gears.shape.rounded_rect
|
:shape gears.shape.rounded_rect
|
||||||
:position "bottom_middle"
|
:position "bottom_middle"
|
||||||
}
|
}
|
||||||
|
|
|
@ -210,6 +210,7 @@ alias yeet "paru -Rns"
|
||||||
alias ls "exa -l"
|
alias ls "exa -l"
|
||||||
alias la "exa -la"
|
alias la "exa -la"
|
||||||
alias mpf "mpv --profile=fast"
|
alias mpf "mpv --profile=fast"
|
||||||
|
alias suspend "systemctl suspend"
|
||||||
|
|
||||||
### Start X at login
|
### Start X at login
|
||||||
if status is-login
|
if status is-login
|
||||||
|
|
|
@ -3,8 +3,6 @@ description = ""
|
||||||
|
|
||||||
# Directories to index.
|
# Directories to index.
|
||||||
dirs = [
|
dirs = [
|
||||||
"~/dotfiles",
|
|
||||||
"~/.dotfiles",
|
|
||||||
"~/org",
|
"~/org",
|
||||||
"~/Downloads",
|
"~/Downloads",
|
||||||
"~/Documents",
|
"~/Documents",
|
||||||
|
@ -17,10 +15,11 @@ dirs = [
|
||||||
"~/.emacs.d",
|
"~/.emacs.d",
|
||||||
"~/storage/tfc",
|
"~/storage/tfc",
|
||||||
"~/storage/nextcloud",
|
"~/storage/nextcloud",
|
||||||
|
"~/.dotfiles",
|
||||||
|
"~/dotfiles",
|
||||||
]
|
]
|
||||||
|
|
||||||
Dirs = [
|
Dirs = [
|
||||||
"~/storage",
|
|
||||||
"~/Games",
|
"~/Games",
|
||||||
]
|
]
|
||||||
# Set to "Dirs" or "Files" to skip directories or files.
|
# Set to "Dirs" or "Files" to skip directories or files.
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
|
|
||||||
#dirs
|
#dirs
|
||||||
Games/
|
Games/
|
||||||
storage/
|
|
||||||
.spacemacs.d
|
.spacemacs.d
|
||||||
.steampath
|
.steampath
|
||||||
go/
|
go/
|
||||||
|
|
|
@ -9,7 +9,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 = 12;
|
round-borders = 14;
|
||||||
round-borders-exclude = [
|
round-borders-exclude = [
|
||||||
#"class_g = 'TelegramDesktop'",
|
#"class_g = 'TelegramDesktop'",
|
||||||
];
|
];
|
||||||
|
@ -71,6 +71,7 @@ shadow-exclude = [
|
||||||
"name = 'Projection Window'",
|
"name = 'Projection Window'",
|
||||||
"name = 'Video'",
|
"name = 'Video'",
|
||||||
"class_g = 'Conky'",
|
"class_g = 'Conky'",
|
||||||
|
"class_g = 'Rofi'",
|
||||||
# "class_g = 'firefox'",
|
# "class_g = 'firefox'",
|
||||||
# "class_g = 'Alacritty'",
|
# "class_g = 'Alacritty'",
|
||||||
"class_g ?= 'Notify-osd'",
|
"class_g ?= 'Notify-osd'",
|
||||||
|
|
|
@ -6,7 +6,7 @@ configuration {
|
||||||
icon-theme: "Papirus";
|
icon-theme: "Papirus";
|
||||||
terminal: "alacritty";
|
terminal: "alacritty";
|
||||||
sidebar-mode: true;
|
sidebar-mode: true;
|
||||||
run-command: "bash -c {cmd}";
|
run-command: "fish -c {cmd}";
|
||||||
run-list-command: "fish -c functions";
|
run-list-command: "fish -c functions";
|
||||||
display-drun: " ";
|
display-drun: " ";
|
||||||
drun-display-format: "{name} [<span weight='light' size='small'><i>({generic})</i></span>] - {exec}";
|
drun-display-format: "{name} [<span weight='light' size='small'><i>({generic})</i></span>] - {exec}";
|
||||||
|
@ -57,7 +57,7 @@ window {
|
||||||
transparency: "real";
|
transparency: "real";
|
||||||
border-radius: 16px;
|
border-radius: 16px;
|
||||||
border: 0px;
|
border: 0px;
|
||||||
width: 60%;
|
width: 40%;
|
||||||
location: center;
|
location: center;
|
||||||
anchor: center;
|
anchor: center;
|
||||||
x-offset: 0;
|
x-offset: 0;
|
||||||
|
@ -137,7 +137,7 @@ textbox {
|
||||||
|
|
||||||
listview {
|
listview {
|
||||||
background-color: @transparent;
|
background-color: @transparent;
|
||||||
columns: 2;
|
columns: 1;
|
||||||
spacing: 4px;
|
spacing: 4px;
|
||||||
cycle: false;
|
cycle: false;
|
||||||
dynamic: true;
|
dynamic: true;
|
||||||
|
@ -157,6 +157,7 @@ element {
|
||||||
}
|
}
|
||||||
|
|
||||||
element-icon {
|
element-icon {
|
||||||
|
background-color: @transparent;
|
||||||
size: 30px;
|
size: 30px;
|
||||||
border: 0px;
|
border: 0px;
|
||||||
padding: 0px 0px 0px;
|
padding: 0px 0px 0px;
|
||||||
|
|
9
scripts/org-agenda-lof
Executable file
9
scripts/org-agenda-lof
Executable file
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
window=$(wmctrl -l | awk '{print $4}' | rg org-agenda)
|
||||||
|
|
||||||
|
if [ -z $window ]; then
|
||||||
|
wmctrl -a $window
|
||||||
|
else
|
||||||
|
emacsclient -e '(chris/org-agenda)'
|
||||||
|
fi
|
|
@ -2,7 +2,6 @@
|
||||||
|
|
||||||
exec ydotoold &
|
exec ydotoold &
|
||||||
exec libinput-gestures-setup start service &
|
exec libinput-gestures-setup start service &
|
||||||
exec xcape -e 'Super_L=Super_L|Control_L|Escape'
|
|
||||||
|
|
||||||
sleep 2
|
sleep 2
|
||||||
|
|
||||||
|
@ -11,3 +10,5 @@ killall mako
|
||||||
sleep 1
|
sleep 1
|
||||||
|
|
||||||
latte-restart
|
latte-restart
|
||||||
|
|
||||||
|
exec xcape -e 'Super_L=Super_L|Control_L|Escape'
|
||||||
|
|
Loading…
Reference in a new issue