I got a little crazy here. a lot of laptop poop

This commit is contained in:
Chris Cochrun 2021-09-22 09:58:13 -05:00
parent 263d10c080
commit fab3b36dec
47 changed files with 3726 additions and 189 deletions

3011
awesome/fennel.lua Normal file

File diff suppressed because it is too large Load diff

View file

@ -645,6 +645,7 @@
;; MPV wasn't centering right
(when (= c.class "mpv") (awful.placement.centered c))
(when (= c.class "imv") (awful.placement.centered c))
(awful.client.focus.byidx 1)
;; Rounded windows done right

View file

@ -104,7 +104,7 @@
;; {:description "increase the number of columns" :group "layout"}) ||#
;; (awful.key [ modkey alt ] "l" (fn [] (awful.tag.incncol -1 nil true)) ||#
;; {:description "decrease the number of columns" :group "layout"}) ||#
(awful.key [ modkey ] "space" (fn [] (awful.layout.inc 1))
(awful.key [ modkey alt ] "space" (fn [] (awful.layout.inc 1))
{:description "select next" :group "layout"})
(awful.key [ modkey shift ] "space" (fn [] (awful.layout.inc -1))
{:description "select previous" :group "layout"})
@ -163,18 +163,18 @@
{:description "launch mu4e in new emacs frame" :group "apps" })
(awful.key [ modkey shift ] "Return" (fn [] (awful.spawn "emacsclient -c -e '(+eshell/frame)'"))
{:description "launch eshell in new emacs frame" :group "apps" })
(awful.key [ modkey ] "e" (fn [] (awful.spawn "emacsclient -c -a 'emacs'"))
(awful.key [ modkey ] "e" (fn [] (awful.spawn "emacslof"))
{:description "launch new emacs frame" :group "apps" })
(awful.key [ modkey ] "p" (fn [] (awful.spawn "rofi-rbw"))
{:description "select pass" :group "apps" })
(awful.key [ modkey shift ] "w" (fn [] (awful.spawn "libreoffice --writer"))
{:description "Open Writer" :group "apps" })
(awful.key [modkey] "b" (fn [] (awful.spawn "qutebrowser"))
(awful.key [modkey] "b" (fn [] (awful.spawn "qblof"))
{:description "launch browser" :group "apps"})
;; rofi
(awful.key [] "Menu" (fn [] (awful.spawn "/home/chris/.config/rofi/launchers-git/launcher.sh"))
{:description "launch rofi" :group "launcher"})
(awful.key [modkey alt] "space" (fn [] (awful.spawn "/home/chris/.config/rofi/launchers-git/launcher.sh"))
(awful.key [modkey] "space" (fn [] (awful.spawn "/home/chris/.config/rofi/launchers-git/launcher.sh"))
{:description "launch rofi" :group "launcher"})
(awful.key [modkey] "w" (fn [] (awful.spawn "/home/chris/.config/rofi/launchers-git/windows.sh"))
{:description "launch rofi window switcher" :group "launcher"})

View file

@ -84,9 +84,9 @@
:properties {
:floating true
:raise true
:height (dpi 600)
:width (dpi 900)
:placement (+ awful.placement.no_offscreen awful.placement.centered)
:height (dpi 800)
:width (dpi 1200)
:placement awful.placement.centered
}
}
;; Emacs

0
eww/eww.scss Normal file
View file

12
eww/eww.yuck Normal file
View file

@ -0,0 +1,12 @@
(defwindow example
:monitor 0
:geometry (geometry :x "0%"
:y "20px"
:width "90%"
:height "30px"
:anchor "top center")
:stacking "fg"
:reserve (struts :distance "40px" :side "top")
:windowtype "dock"
:wm-ignore false
"example content")

View file

@ -95,7 +95,7 @@ the close button is positioned to the far right */
margin-right: calc(0px + var(--uc-navigationbar-width));
/* Remove empty space above tabs so that tabs are clickable at very top of screen */
margin-left: 10px;
margin-top: -20px !important;
margin-top: -30px !important;
max-height: 20px !important;
font-size: 13px !important;
z-index: 10;
@ -152,6 +152,7 @@ the close button is positioned to the far right */
margin-left: calc(100vw - var(--uc-navigationbar-width));
margin-top: calc(0px - var(--uc-toolbar-height));
padding-right: calc(3 * 46px + var(--window-drag-space-width));
}
/* Hide dropdown placeholder */
@ -164,10 +165,10 @@ the close button is positioned to the far right */
/*visibility: collapse !important;*/
min-height: 0px !important;
max-height: 0px !important;
margin-top: -15px !important;
margin-top: -6px !important;
margin-bottom: 14px !important;
margin-right: 200px !important;
margin-left: 200px !important;
margin-right: 70px !important;
margin-left: 70px !important;
transition: all 300ms ease .5s !important;
z-index: -5 !important;
border-radius: 50px;
@ -180,7 +181,7 @@ the close button is positioned to the far right */
/*visibility: visible !important;*/
min-height: 32px !important;
max-height: 32px !important;
margin-top: 5px !important;
margin-top: 14px !important;
margin-bottom: -38px !important;
transition: all 200ms ease 0s !important;
z-index: 5 !important;
@ -190,7 +191,7 @@ the close button is positioned to the far right */
/* make urlbar rounded */
#urlbar{
margin-top: 30px !important;
margin-top: 35px !important;
padding-right: 10px !important;
padding-left: 10px !important;
}
@ -216,11 +217,11 @@ the close button is positioned to the far right */
}
#nav-bar-customization-target{
margin-top: -15px;
margin-top: -20px;
}
#nav-bar-overflow-button{
margin-top: -15px !important;
margin-top: -20px !important;
}
#PanelUI-button{
margin-top: -15px !important;
margin-top: -20px !important;
}

View file

@ -4,6 +4,6 @@ profile laptop {
profile office {
output eDP-1 mode 2256x1504 position 0,0 scale 1.5
output DP-2 mode 1366x768 position 1500,0 scale 1
output DP-4 mode 1366x768 position 1500,0 scale 1
exec notify-send 'office monitors setup'
}

View file

@ -1,6 +1,6 @@
(defcfg
;; For Linux
input (device-file "/dev/input/by-id/usb-Razer_Razer_BlackWidow_Chroma-if01-event-kbd")
input (device-file "/dev/input/by-path/platform-i8042-serio-0-event-kbd")
output (uinput-sink "My KMonad output"
;; To understand the importance of the following line, see the section on
;; Compose-key sequences at the near-bottom of this file.
@ -23,11 +23,12 @@
)
(defsrc
esc mute vold volu prev pp next f7 f8 f9 f10 f11 f12 del
grv 1 2 3 4 5 6 7 8 9 0 - = bspc
tab q w e r t y u i o p [ ] \
lctl a s d f g h j k l ; ' ret
lsft z x c v b n m , . / rsft
caps lmet lalt spc ralt rmet cmp rctl
caps a s d f g h j k l ; ' ret
lsft z x c v b n m , . / rsft up
lctl fn lmet lalt spc ralt rctl left down rght
)
(deflayer qwerty

View file

@ -136,7 +136,7 @@
#+begin_src common-lisp :tangle config.kbd
(defcfg
;; For Linux
input (device-file "/dev/input/by-id/usb-Razer_Razer_BlackWidow_Chroma-if01-event-kbd")
input (device-file "/dev/input/by-path/platform-i8042-serio-0-event-kbd")
output (uinput-sink "My KMonad output"
;; To understand the importance of the following line, see the section on
;; Compose-key sequences at the near-bottom of this file.
@ -206,11 +206,13 @@
#+begin_src common-lisp :tangle config.kbd
(defsrc
esc mute vold volu prev pp next f7 f8 f9 f10 sys f12 del
grv 1 2 3 4 5 6 7 8 9 0 - = bspc
tab q w e r t y u i o p [ ] \
lctl a s d f g h j k l ; ' ret
caps a s d f g h j k l ; ' ret
lsft z x c v b n m , . / rsft
caps lmet lalt spc ralt rmet cmp rctl
lctl fn lmet lalt spc ralt rctl left up rght
down
)
#+end_src

View file

@ -13,10 +13,10 @@ swipe_threshold 0
# Gestures
gesture swipe up 3 ydotool key ctrl+F10
gesture swipe down 3 ydotool key ctrl+F10
gesture swipe up 4 _internal ws_up
gesture swipe down 4 _internal ws_down
gesture swipe left 4 _internal ws_left
gesture swipe right 4 _internal ws_right
gesture swipe up 4 ydotool key alt+meta+k
gesture swipe down 4 ydotool key alt+meta+j
gesture swipe left 4 ydotool key alt+meta+h
gesture swipe right 4 ydotool key alt+meta+l
gesture swipe left 3 ydotool key alt+Right
gesture swipe right 3 ydotool key alt+Left
gesture pinch clockwise 4 xdotool key XF86AudioRaiseVolume

View file

@ -1,6 +1,6 @@
max-visible=3
anchor=bottom-center
font=VictorMono Nerd Font 14
font=VictorMono Nerd Font 8
background-color=#282a36
border-size=0
text-color=#5af78e

24
nyxt/glyphs.lisp Normal file
View file

@ -0,0 +1,24 @@
(in-package #:nyxt-user)
;;allow setting glyphs
(define-configuration status-buffer
((glyph-mode-presentation-p t)))
;;various glyph settings with no additional configs
(define-configuration nyxt/force-https-mode:force-https-mode ((glyph "ϕ")))
(define-configuration nyxt/blocker-mode:blocker-mode ((glyph "β")))
(define-configuration nyxt/proxy-mode:proxy-mode ((glyph "π")))
(define-configuration nyxt/reduce-tracking-mode:reduce-tracking-mode ((glyph "∅")))
(define-configuration nyxt/certificate-exception-mode:certificate-exception-mode ((glyph "ɛ")))
(define-configuration nyxt/style-mode:style-mode ((glyph "s")))
(define-configuration nyxt/help-mode:help-mode ((glyph "?")))
;;configure web mode hints to home row and set glyph
(define-configuration nyxt/web-mode:web-mode
((nyxt/web-mode:hints-alphabet "ASDFGHJKL")
(glyph "ω")))
;;auto-mode config and set glyph
(define-configuration nyxt/auto-mode:auto-mode
((nyxt/auto-mode:prompt-on-mode-toggle t)
(glyph "α")))

View file

@ -1,6 +1,7 @@
(in-package #:nyxt-user) ; While implicit, this allows SLY to know which package we are in.
(dolist (file (list (nyxt-init-file "slynk.lisp"))))
(dolist (file (list (nyxt-init-file "glyphs.lisp"))))
(load-after-system :slynk (nyxt-init-file "slynk.lisp"))
;; (defvar *chris-prompt-keymap (make-keymap "chris-prompt-map"))
@ -105,7 +106,7 @@
:color "#e2e4e5"
:line-height "1fr")
("#container"
:grid-template-columns "0px 4fr 0px 2fr 0px 0px")
:grid-template-columns "2fr 0px 0px")
("#controls"
:background-color "#282a36"
:color "#f3f99d"

View file

@ -174,10 +174,10 @@ opacity-rule = [
"100:class_g = 'scribus'",
"100:class_g = 'kdenlive'",
"100:class_g = 'resolve'",
"100:class_g = 'OpenLP'",
# "100:class_g = 'OpenLP'",
"100:class_g = 'firefox'",
"100:class_g = 'Gimp-2.10'",
"100:class_g = 'dolphin'",
# "100:class_g = 'dolphin'",
"100:class_g = 'mpv'",
"100:class_g = 'libreoffice'",
"100:_NET_WM_STATE@[0]:32a *= '_NET_WM_STATE_FULLSCREEN'",
@ -251,6 +251,7 @@ blur-background-exclude = [
"class_g = 'slop'",
"_GTK_FRAME_EXTENTS@:c",
"class_g = 'soffice'",
"name = 'Display Window'",
# "window_type = '_NET_WM_WINDOW_TYPE_NOTIFICATION'"
"window_type = 'notification'"
];

View file

@ -12,12 +12,19 @@ settings:
https://openweathermap.org: false
content.media.audio_capture:
https://jitsi.tfcconnection.org: true
https://staff.tfcconnection.org: true
content.media.audio_video_capture:
global: ask
https://jitsi.tfcconnection.org: true
https://staff.tfcconnection.org: true
content.media.video_capture:
https://jitsi.tfcconnection.org: true
https://staff.tfcconnection.org: true
content.notifications.enabled:
https://jelly.cochrun.xyz: true
https://nc.cochrun.xyz: false
https://staff.tfcconnection.org: true
https://teams.microsoft.com: true
https://toolbox.iskysoft.com: false
https://www.facebook.com: false
https://www.g2a.com: false

View file

@ -2482,7 +2482,7 @@ config.bind("o", "set-cmd-text -s :open")
# config.bind('y', 'prompt-accept yes', mode='yesno')
## Bindings for MPV and YTDL
config.bind("v", "hint links spawn --detach mpv --profile=fast --force-window yes {hint-url}")
config.bind("v", 'hint links spawn --detach mpv --profile=fast --force-window yes "{hint-url}"')
config.bind("gv", "spawn --detach mpv --profile=fast --force-window yes --ytdl=bestvideo[height<=?720][fps<=?30]+bestaudio/best \'{url}\'")
config.bind("gc", 'spawn org-capture "{url}"')
config.bind(

View file

@ -1,6 +1,6 @@
[FileDialog]
history=file:///home/chris, file:///home/chris/nextcloud/tfc/Documents
lastVisited=file:///home/chris/nextcloud/tfc/Documents
history=file:///home/chris, file:///home/chris/nextcloud/tfc/Documents, file:///home/chris/Videos, file:///home/chris/Downloads
lastVisited=file:///home/chris/Downloads
qtVersion=5.15.2
shortcuts=file:, file:///home/chris, file:///home/chris/storage/tfc
sidebarWidth=116

View file

@ -23,3 +23,4 @@ tnc https://staff.tfcconnection.org/apps/dashboard/
nc https://nc.cochrun.xyz/apps/files/
oml https://outlook.live.com/mail/0/inbox
stb https://table.tfcconnection.org/
tms https://teams.microsoft.com/_#/conversations/General

View file

@ -14,9 +14,10 @@ mod="Mod4"
riverctl map normal $mod Return spawn alacritty
riverctl map normal $mod E spawn "emacsclient -c -a 'emacs'"
riverctl map normal $mod B spawn qutebrowser
riverctl map normal $mod+Mod1 space spawn "wofi --show drun"
riverctl map normal $mod space spawn "wofi --show drun"
riverctl map normal $mod Menu spawn "wofi --show run"
riverctl map normal $mod P spawn rofi-rbw
riverctl map normal $mod P spawn "wlrofi-rbw"
riverctl map normal $mod W spawn "wofi-window"
riverctl map normal $mod+Control M spawn "makoctl dismiss -a"
@ -105,7 +106,7 @@ riverctl map normal $mod 0 set-focused-tags $all_tags
riverctl map normal $mod+Shift 0 set-view-tags $all_tags
# Mod+Space to toggle float
riverctl map normal $mod Space toggle-float
riverctl map normal $mod+Mod1 Space toggle-float
# Mod+F to toggle fullscreen
riverctl map normal $mod F toggle-fullscreen
@ -148,8 +149,8 @@ do
riverctl map $mode None XF86AudioNext spawn playerctl next
# Control screen backlight brighness with light (https://github.com/haikarainen/light)
riverctl map $mode None XF86MonBrightnessUp spawn light -A 5
riverctl map $mode None XF86MonBrightnessDown spawn light -U 5
riverctl map $mode None XF86MonBrightnessUp spawn brightnessctl set +5%
riverctl map $mode None XF86MonBrightnessDown spawn brightnessctl set 5%-
done
# Set repeat rate
@ -166,7 +167,7 @@ riverctl csd-filter-add "gedit"
# riverctl csd-filter-add "emacs"
# apps to hide decorations
# riverctl csd-filter-remove "emacs"
riverctl csd-filter-remove "emacs"
# Set opacity and fade effect
# riverctl opacity 0.95 0.45 0.0 0.1 20
@ -175,15 +176,16 @@ riverctl csd-filter-add "gedit"
riverctl xcursor-theme breeze-snow
#set the decos
riverctl border-width 1
riverctl border-width 0
# set pointer speed
riverctl input 1118:1997:Microsoft_Surface_Keyboard_Touchpad tap enabled
riverctl input 1118:1997:Microsoft_Surface_Keyboard_Touchpad natural-scroll enabled
riverctl input 1118:1997:Microsoft_Surface_Keyboard_Touchpad pointer-accel 0.5
riverctl input 2362:628:PIXA3854:00_093A:0274_Touchpad tap enabled
riverctl input 2362:628:PIXA3854:00_093A:0274_Touchpad natural-scroll enabled
riverctl input 2362:628:PIXA3854:00_093A:0274_Touchpad pointer-accel 0.5
# Set layout
wlr-randr --output eDP-1 --pos 0,0 --scale 2
# wlr-randr --output eDP-1 --pos 0,0 --scale 2
riverctl spawn kanshi
riverctl spawn 'nextcloud --background'
riverctl spawn 'emacs --daemon'
@ -192,26 +194,25 @@ riverctl spawn rbw-agent
# Turn on Waybar
riverctl spawn 'export XDG_CURRENT_DESKTOP="Unity"'
riverctl spawn 'waybar'
riverctl spawn waybar
riverctl spawn 'swaybg -i /usr/share/wallpapers/Flow/contents/images/5120x2880.jpg -m fill'
#rivertile
riverctl spawn rivertile
riverctl output-layout rivertile
# Use kile as my layout generator allows me to create really unique layouts
# with an s-expression syntax
riverctl spawn kile
riverctl default-layout kile
# riverctl spawn kile
# riverctl default-layout kile
# riverctl output-layout kile
read -r -d '' DECK <<EOM
( { h: ( { v: full deck } 1 0.6 0 ) } 1 0.6 1 )
EOM
# DECK='( ( h: ( ( v: full deck ) 1 0.6 0 ) ) 1 0.6 1 )'
# TEST='( (v: h h ) 1 0.6 0 )'
read -r -d '' TEST <<EOM
( {v: h h } 1 0.6 0 )
EOM
riverctl send-layout-cmd kile "all $TEST"
riverctl send-layout-cmd kile "outer_padding 10"
riverctl send-layout-cmd kile "view_padding 10"
riverctl send-layout-cmd kile "smart_padding false"
# riverctl send-layout-cmd kile 'all $TEST'
# riverctl send-layout-cmd kile 'outer_padding 10'
# riverctl send-layout-cmd kile 'view_padding 10'
# riverctl send-layout-cmd kile 'smart_padding false'
riverctl attach-mode bottom

View file

@ -3,21 +3,16 @@
configuration {
show-icons: true;
icon-theme: "Papirus";
terminal: "alacritty";
sidebar-mode: true;
run-command: "fish -c {cmd}";
run-command: "bash -c {cmd}";
run-list-command: "fish -c functions";
display-drun: " ";
drun-display-format: "{name} [<span weight='light' size='small'><i>({generic})</i></span>] - {exec}";
threads: 0;
scroll-method: 0;
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
columns: 2;
font: "VictorMono Nerd Font 14.0";
}
* {
@ -44,7 +39,7 @@ configuration {
base0D: #57c7ff;
base0E: #ff6ac1;
base0F: #b2643c;
base00t: #282a36AA;
base00t: #282a3655;
background-alt: @base02;
}
@ -52,7 +47,7 @@ window {
background-color: @base00t;
text-color: @base05;
transparency: "real";
border-radius: 0;
border-radius: 16px;
border: 0px;
width: 60%;
location: center;

View file

@ -44,13 +44,14 @@ configuration {
base0D: #57c7ff;
base0E: #ff6ac1;
base0F: #b2643c;
base00t: #282a36AA;
base00t: #282a3644;
background-alt: @base02;
}
window {
background-color: @base00t;
text-color: @base05;
transparency: "real";
border-radius: 0px;
border: 0px;
width: 60%;

View file

@ -0,0 +1,8 @@
/*-*- mode: css; -*-*/
configuration {
font: "VictorMono Nerd Font 14.0";
show-icons: false;
}
@import "/home/chris/.config/rofi/config.rasi"

View file

@ -1,15 +1,8 @@
/*-*- mode: css; -*-*/
/*
*
* Author : Aditya Shakya (adi1090x)
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Reddit : @adi1090x
*
*/
configuration {
font: "VictorMono Nerd Font 14.0";
show-icons: true;
}
@import "/home/chris/.config/rofi/launchers-git/blurry.rasi"
@import "/home/chris/.config/rofi/config.rasi"

View file

@ -0,0 +1,8 @@
/*-*- mode: css; -*-*/
configuration {
font: "VictorMono Nerd Font 22.0";
show-icons: false;
}
@import "/home/chris/.config/rofi/config.rasi"

View file

@ -1,15 +1,8 @@
/*-*- mode: css; -*-*/
/*
*
* Author : Aditya Shakya (adi1090x)
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Reddit : @adi1090x
*
*/
configuration {
font: "VictorMono Nerd Font 28.0";
font: "VictorMono Nerd Font 22.0";
show-icons: true;
}
@import "/home/chris/.config/rofi/launchers-git/blurry.rasi"
@import "/home/chris/.config/rofi/config.rasi"

View file

@ -1,7 +1,7 @@
#!/usr/bin/env bash
if [ $(hostname) = "syl" ]; then
style="desktop"
style="laptop"
#echo "this is hidpi"
else
style="desktop"

192
rofi/rofi.rasi Normal file
View file

@ -0,0 +1,192 @@
/*-*- mode: css; -*-*/
/** Configured For Applets **/
configuration {
show-icons: true;
icon-theme: "Papirus";
terminal: "alacritty";
sidebar-mode: true;
run-command: "bash -c {cmd}";
run-list-command: "fish -c functions";
display-drun: " ";
drun-display-format: "{name} [<span weight='light' size='small'><i>({generic})</i></span>] - {exec}";
threads: 0;
scroll-method: 0;
disable-history: false;
font: "VictorMono Nerd Font 14.0";
}
* {
backgrounkd: #12121222;
background-color: #00222b33;
background-entry: #000000;
foreground-selected: #ffffff;
urgent: #E91E63;
urgent-selected: #E91E63;
transparent: #00000000;
base00: #282a36;
base01: #34353e;
base02: #43454f;
base03: #78787e;
base04: #a5a5a9;
base05: #e2e4e5;
base06: #eff0eb;
base07: #f1f1f0;
base08: #ff5c57;
base09: #ff9f43;
base0A: #f3f99d;
base0B: #5af78e;
base0C: #9aedfe;
base0D: #57c7ff;
base0E: #ff6ac1;
base0F: #b2643c;
base00t: #282a3655;
background-alt: @base02;
}
window {
background-color: @base00t;
text-color: @base05;
transparency: "real";
border-radius: 16px;
border: 0px;
width: 60%;
location: center;
anchor: center;
x-offset: 0;
y-offset: 0;
margin: 0px;
padding: 0px;
}
mainbox {
border-radius: 16;
background-color: @transparent;
text-color: @base05;
transparency: "real";
}
inputbar {
background-color: @transparent;
text-color: @base05;
expand: false;
border-radius: 36px;
margin: 0px 0px 0px 0px;
padding: 6px 6px 6px 6px;
position: north;
}
prompt {
enabled: true;
padding: 0px 6px 0px 5px;
background-color: @transparent;
text-color: @base05;
border: 0px;
}
entry {
background-color: @transparent;
placeholder-color: @base05;
text-color: @base05;
expand: true;
horizontal-align: 0;
placeholder: "Search";
blink: true;
border: 0px;
padding: 0px 0px 0px 6px;
}
case-indicator {
background-color: @transparent;
text-color: @base05;
spacing: 0;
border: 0px;
}
sidebar {
border: 2px 0 0;
}
mainbox {
background-color: @base00t;
text-color: @transparent;
children: [ inputbar, listview, message ];
spacing: 5px;
padding: 10px 10px 10px 10px;
}
message {
border: 0px 0 0;
padding: 0px;
background-color: @transparent;
}
textbox {
highlight: @base0B;
text-color: @base0B;
background-color: @transparent;
padding: 10px 90px 10px 90px;
}
listview {
background-color: @transparent;
columns: 2;
spacing: 4px;
cycle: false;
dynamic: true;
layout: vertical;
lines: 10;
scrollbar: false;
border: 0px;
fixed-height: false;
}
element {
background-color: @transparent;
text-color: @base05;
orientation: horizontal;
border-radius: 55px;
padding: 5px 5px 5px 10px;
}
element-icon {
size: 30px;
border: 0px;
padding: 0px 0px 0px;
}
element-text {
expand: true;
background-color: @transparent;
text-color: @base05;
vertical-align: 0.5;
}
element normal.urgent,
element alternate.urgent {
background-color: @urgent;
text-color: @base08;
border-radius: 9px;
}
element normal.active,
element alternate.active {
background-color: @background-alt;
text-color: @base0B;
}
element selected {
background-color: @background-alt;
text-color: @base0A;
}
element selected.urgent {
background-color: @urgent-selected;
text-color: @base08;
}
element selected.active {
background-color: @background-alt;
color: @base0A;
}

32
scripts/emacslof Executable file
View file

@ -0,0 +1,32 @@
#!/bin/sh
# Check to see if an emacsclient is running
if [ $(pgrep -c emacsclient) -gt 0 ]; then
if [ $XDG_SESSION_TYPE = "x11" ]; then
#X11
emacsrg=$(wmctrl -lx | rg emacs | rg -v org-agenda | awk '{print $1}')
echo $emacsrg
if [ -z $emacsrg ]; then
emacsclient -c
exit
else
wmctrl -ia $emacsrg
exit
fi
else
# WAYLAND
emacsrg=$(wlrctl window list | rg -v 'emacs:\sorg-agenda' | rg 'emacs:')
emacswin=$(echo $emacsrg | sed 's/.*\: //')
echo $emacswin
wlrctl toplevel focus title:"$emacswin"
exit
fi
else
emacsclient -c
fi

30
scripts/fflof Executable file
View file

@ -0,0 +1,30 @@
#!/bin/sh
# Check to see if firefox is running
if [ $(pgrep -c firefox) -gt 0 ]; then
if [ $XDG_SESSION_TYPE = "x11" ]; then
#X11
ffrg=$(wmctrl -lx | rg firefox | awk '{print $1}')
# echo $emacsrg
if [ -z $ffrg ]; then
firefox
exit
else
wmctrl -ia $ffrg
exit
fi
else
# WAYLAND
ffrg=$(wlrctl window list | rg firefox)
ffwin=$(echo $ffrg | sed 's/.*\: //')
# echo $ffwin
wlrctl toplevel focus title:"$ffwin"
exit
fi
else
firefox
fi

View file

@ -1,15 +1,10 @@
#!/bin/sh
if [ $(hostname) = "syl" ]; then
if [ $WAYLAND_DISPLAY = "wayland-0" ]; then
style="desktop"
else
style="desktop"
#echo "this is hidpi"
fi
style="laptop"
else
style="desktop"
#echo "this is not hidpi"
fi
lolcate | rofi -dmenu -p "File Search:" -i -matching regex | xargs -r0 xdg-open
lolcate | rofi -dmenu -p "File Search:" -i -matching regex -theme ~/.config/rofi/launchers-git/$style-rbw.rasi | xargs -r0 xdg-open

12
scripts/plasma-startup.sh Executable file
View file

@ -0,0 +1,12 @@
#!/bin/sh
exec ydotoold &
exec libinput-gestures-setup start service &
sleep 2
killall mako
sleep 1
latte-restart

30
scripts/qblof Executable file
View file

@ -0,0 +1,30 @@
#!/bin/sh
# Check to see if firefox is running
if [ $(pgrep -c qutebrowser) -gt 0 ]; then
if [ $XDG_SESSION_TYPE = "x11" ]; then
#X11
qbrg=$(wmctrl -lx | rg qutebrowser | awk '{print $1}')
# echo $emacsrg
if [ -z $qbrg ]; then
qutebrowser
exit
else
wmctrl -ia $qbrg
exit
fi
else
# WAYLAND
qbrg=$(wlrctl window list | rg qutebrowser)
qbwin=$(echo $qbrg | sed 's/.*\: //')
# echo $ffwin
wlrctl toplevel focus title:"$qbwin"
exit
fi
else
qutebrowser
fi

View file

@ -1,5 +1,13 @@
#!/usr/bin/env bash
# Very basic interface for pass using rofi
# Very basic interface for rbw using rofi
if [ $(hostname) = "syl" ]; then
style="laptop-rbw"
#echo "this is hidpi"
else
style="desktop-rbw"
#echo "this is not hidpi"
fi
# Get all password files and create an array
root=~/.password-store
@ -16,7 +24,7 @@ list_passwords() {
passwords=$(rbw list)
prompt='search for passwords...'
SECRET=$(list_passwords | rofi -i -p="${prompt}" -dmenu)
SECRET=$(list_passwords | rofi -i -p="${prompt}" -dmenu -theme ~/.config/rofi/launchers-git/$style.rasi)
# Ask whether pass, user or both are required
@ -26,7 +34,7 @@ options=("Password" \
"QR-Code" \
"OTP")
option=$(printf '%s\n' "${options[@]%}" | rofi -i -dmenu -width 400 -lines 4 -prompt="...")
option=$(printf '%s\n' "${options[@]%}" | rofi -i -dmenu -width 400 -lines 4 -prompt="..." -theme ~/.config/rofi/launchers-git/$style.rasi)
echo $option

3
scripts/wintitle Executable file
View file

@ -0,0 +1,3 @@
#!/bin/sh
wlrctl window list state:active

View file

@ -1,16 +1,29 @@
#!/usr/bin/env bash
# Very basic interface for rbw using rofi
if [ $(hostname) = "syl" ]; then
style="laptop-rbw"
#echo "this is hidpi"
else
style="desktop-rbw"
#echo "this is not hidpi"
fi
# Get all password files and create an array
root=~/.password-store
CACHE=~/.local/tmp/pass_rofi
seat=seat0
rbw sync
rbw list
list_passwords() {
rbw list
}
passwords=$(rbw list)
prompt='search for passwords...'
SECRET=$(list_passwords | rofi -i -p="${prompt}" -dmenu)
SECRET=$(list_passwords | wofi -i -p"${prompt}" -d)
# Ask whether pass, user or both are required
options=("Password" \
@ -19,22 +32,22 @@ options=("Password" \
"QR-Code" \
"OTP")
option=$(printf '%s\n' "${options[@]%}" | rofi -i -dmenu -width 400 -lines 4 -prompt="...")
option=$(printf '%s\n' "${options[@]%}" | wofi -id -W 400 -H 150 -p"...")
# echo $option
case ${option} in
Password )
# echo "${SECRET}"
wtype $(rbw get "${SECRET}")
ydotool type $(rbw get "${SECRET}")
;;
User )
wtype $(rbw get --full "${SECRET}" | rg Username: | awk '{$1 = ""; print $0}')
ydotool type $(rbw get --full "${SECRET}" | rg Username: | awk '{$1 = ""; print $0}')
;;
"User and password" )
wtype $(rbw get --full "${SECRET}" | rg Username: | awk '{$1 = ""; print $0}')
wtype -k TAB
wtype $(rbw get "${SECRET}")
ydotool type $(rbw get --full "${SECRET}" | rg Username: | awk '{$1 = ""; print $0}')
ydotool key TAB
ydotool type $(rbw get "${SECRET}")
;;
"QR-Code" )
if [[ $SECRET =~ wifi$ ]]; then
@ -49,7 +62,7 @@ case ${option} in
fi
;;
"OTP" )
wtype $(rbw code ${SECRET})
ydotool type $(rbw code ${SECRET})
;;
esac

20
scripts/wofi-window Normal file → Executable file
View file

@ -1,9 +1,11 @@
!#/bin/bash
swaymsg -t get_tree |
jq -r '.nodes[].nodes[] | if .nodes then [recurse(.nodes[])] else []
end + .floating_nodes | .[] | select(.nodes==[]) | ((.id | tostring) +
"" + .name)' |
wofi --show dmenu | {
read -r id name
swaymsg "[con_id=$id]" focus
}
#!/bin/bash
list_windows() (
wlrctl window list
)
window=$(list_windows | wofi -H 20% -id -p "select window..." | awk '{print $1}' | sed 's/://')
echo $window
wlrctl window focus $window

120
scripts/ww Executable file
View file

@ -0,0 +1,120 @@
#!/bin/bash
# Usage: ww -f "window class filter" -c "run if not found"
# Usage: ww -fa "window title filter" -c "run if not found"
POSITIONAL=()
while [[ $# -gt 0 ]]; do
key="$1"
case $key in
-c | --command)
COMMAND="$2"
shift # past argument
shift # past value
;;
-f | --filter)
FILTERBY="$2"
shift # past argument
shift # past value
;;
-fa | --filter-alternative)
FILTERALT="$2"
shift # past argument
shift # past value
;;
-h | --help)
HELP="1"
shift # past argument
shift # past value
;;
*) # unknown option
POSITIONAL+=("$1") # save it in an array for later
shift # past argument
;;
esac
done
set -- "${POSITIONAL[@]}" # restore positional parameters
if [ -n "$HELP" ]; then
cat <<EOF
ww. Utility to raise or jump an applications in KDE. It interacts with KWin using KWin scripts and it is compatible with X11 and Wayland
Paramaters:
-h --help show this help
-f --filter filter by window class
-fa --filter-alternative filter by window title (caption)
-c --command command to check if running and run if no process is found
EOF
exit 0
fi
SCRIPT_TEMPLATE=$(
cat <<EOF
function kwinactivateclient(clientClass, clientCaption) {
var clients = workspace.clientList();
var compareToCaption = new RegExp(clientCaption || '', 'i');
var compareToClass = clientClass;
var isCompareToClass = clientClass.length > 0
for (var i=0; i<clients.length; i++) {
var client = clients[i];
if (isCompareToClass && client.resourceClass == compareToClass) {
workspace.activeClient = client;
break;
} else if (!isCompareToClass && compareToCaption.exec(client.caption)) {
workspace.activeClient = client;
break;
}
}
}
kwinactivateclient('CLASS_NAME', 'CAPTION_NAME');
EOF
)
CURRENT_SCRIPT_NAME=$(basename $0)
# ensure the script file exists
function ensure_script {
if [ ! -f SCRIPT_PATH ]; then
if [ ! -d "$SCRIPT_FOLDER" ]; then
mkdir -p "$SCRIPT_FOLDER"
fi
SCRIPT_CONTENT=${SCRIPT_TEMPLATE/CLASS_NAME/$1}
SCRIPT_CONTENT=${SCRIPT_CONTENT/CAPTION_NAME/$2}
#if [ "$1" == "class" ]; then
#SCRIPT_CONTENT=${SCRIPT_CLASS_NAME/REPLACE_ME/$2}
#else
#SCRIPT_CONTENT=${SCRIPT_CAPTION/REPLACE_ME/$2}
#fi
echo "$SCRIPT_CONTENT" >"$SCRIPT_PATH"
fi
}
if [ -z "$FILTERBY" ] && [ -z "$FILTERALT" ]; then
echo You need to specify a window filter. Either by class -f or by title -fa
exit 1
fi
IS_RUNNING=$(pgrep -o -a -f "$COMMAND" | grep -v "$CURRENT_SCRIPT_NAME")
if [ -n "$IS_RUNNING" ] || [ -n "$FILTERALT" ]; then
SCRIPT_FOLDER="$HOME/.wwscripts/"
SCRIPT_NAME=$(echo "$FILTERBY$FILTERALT" | md5sum | head -c 32)
SCRIPT_PATH="$SCRIPT_FOLDER$SCRIPT_NAME"
ensure_script "$FILTERBY" "$FILTERALT"
SCRIPT_NAME="ww$RANDOM"
#SCRIPT_NAME=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)
# install the script
ID=$(dbus-send --session --dest=org.kde.KWin --print-reply=literal /Scripting org.kde.kwin.Scripting.loadScript "string:$SCRIPT_PATH" "string:$SCRIPT_NAME" | awk '{print $2}')
# run it - some KDEs version use Script.run others Scripting.run
dbus-send --session --dest=org.kde.KWin --print-reply=literal "/$ID" org.kde.kwin.Scripting.run >/dev/null 2>&1
dbus-send --session --dest=org.kde.KWin --print-reply=literal "/$ID" org.kde.kwin.Script.run >/dev/null 2>&1
# stop it - some KDEs version use Script.run others Scripting.run
dbus-send --session --dest=org.kde.KWin --print-reply=literal "/$ID" org.kde.kwin.Scripting.stop >/dev/null 2>&1
dbus-send --session --dest=org.kde.KWin --print-reply=literal "/$ID" org.kde.kwin.Script.stop >/dev/null 2>&1
# uninstall it
dbus-send --session --dest=org.kde.KWin --print-reply=literal /Scripting org.kde.kwin.Scripting.unloadScript "string:$SCRIPT_NAME" >/dev/null 2>&1
elif [ -n "$COMMAND" ]; then
$COMMAND &
fi

3
sway/autostart.sh Normal file
View file

@ -0,0 +1,3 @@
#!/usr/bin/bash
export QT_QPA_PLATFORMTHEME="qt5ct"

View file

@ -16,7 +16,8 @@ output * bg /usr/share/wallpapers/Flow/contents/images/5120x2880.jpg fill
###old ~/Pictures/wallpapers/RoyalKing.png
exec kanshi
exec_always kanshi
exec /home/chris/.config/sway/autostart.sh
### Idle configuration
#
@ -53,10 +54,10 @@ gaps inner 10
default_border none
# border_images.focused /home/chris/.dotfiles/sway/rounded_and_shadows_custom.png
# border_images.focused_inactive /home/chris/.dotfiles/sway/rounded_and_shadows_custom.png
# border_images.unfocused /home/chris/.dotfiles/sway/rounded_and_shadows_custom.png
# border_images.urgent /home/chris/.dotfiles/sway/rounded_and_shadows_custom.png
# border_images.focused /home/chris/.config/sway/rounded_and_shadows_custom.png
# border_images.focused_inactive /home/chris/.config/sway/rounded_and_shadows_custom.png
# border_images.unfocused /home/chris/.config/sway/rounded_and_shadows_custom.png
# border_images.urgent /home/chris/.config/sway/rounded_and_shadows_custom.png
font pango: VictorMono Nerd Font 10
show_marks yes
@ -77,10 +78,11 @@ client.focused '#282a36' '#57c7ff' '#34353e' '#34353e'
bindsym $mod+c kill
# Start your launcher
bindsym $mod+Mod1+Space exec $menu
bindsym $mod+Space exec $menu
bindsym $mod+Shift+Menu exec wofi --show drun
bindsym $mod+Menu exec wofi --show run | xargs swaymsg exec --
bindsym $mod+s exec filesearch
bindsym $mod+w exec wofi-window
#Pass
bindsym $mod+p exec wlrofi-rbw
@ -98,7 +100,7 @@ client.focused '#282a36' '#57c7ff' '#34353e' '#34353e'
bindsym $mod+Ctrl+r reload
# Exit sway (logs you out of your Wayland session)
bindsym $mod+Ctrl+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -b 'Yes, exit sway' 'swaymsg exit'
bindsym $mod+Shift+q exec swaymsg exit
#
# Moving around:
#
@ -163,9 +165,9 @@ client.focused '#282a36' '#57c7ff' '#34353e' '#34353e'
bindsym $mod+v splitv
# Switch the current container between different layout styles
bindsym $mod+t layout stacking
bindsym $mod+w layout tabbed
bindsym $mod+q layout toggle split
bindsym $mod+y layout stacking
bindsym $mod+t layout tabbed
bindsym $mod+u layout toggle split
# Make the current focus fullscreen
bindsym $mod+f fullscreen
@ -174,7 +176,7 @@ client.focused '#282a36' '#57c7ff' '#34353e' '#34353e'
bindsym $mod+Shift+space floating toggle
# Swap focus between the tiling area and the floating area
bindsym $mod+space focus mode_toggle
bindsym $mod+Mod1+space focus mode_toggle
# Move focus to the parent container
bindsym $mod+Shift+p focus parent
@ -237,7 +239,7 @@ bindsym $mod+o mode "$mode_launcher"
bindsym $mod+Ctrl+m exec makoctl dismiss -a
bindsym $mod+e exec emacsclient -c -a emacs
bindsym $mod+b exec qutebrowser
bindsym $mod+b exec nyxt
bindsym $mod+i exec emacsclient -e '(chris/org-agenda)'
bindsym $mod+m exec emacsclient -c -e '(mu4e)'
bindsym $mod+Shift+d exec dolphin
@ -252,14 +254,14 @@ bar {
}
for_window [title="org-agenda"] floating enable
for_window [title="org-agenda"] floating enable, move scratchpad
for_window [app_id="mpv"] floating enable
for_window [app_id="imv"] floating enable
for_window [app_id="dolphin"] floating enable
for_window [app_id="pulsemixer"] floating enable
for_window [class="\*Org Agenda(a)\*"] floating enable; move scratchpad
for_window [app_id="__focused__"] opacity set 1
for_window [app_id="qutebrowser"] move container to workspace number 2, opacity set 1
for_window [title="Display Window"] move container to workspace number 9, fullscreen enable, move workspace to output right
# for_window [app_id="emacs"] opacity set 0.90
### Locking screen

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.6 KiB

After

Width:  |  Height:  |  Size: 9.7 KiB

Binary file not shown.

View file

@ -17,7 +17,7 @@ set searchurls.o https://www.office.com/search?auth=2&q=
set searchurls.wiki https://en.wikipedia.org/wiki/Special:Search/
set searchurls.g https://www.google.com/search?q=
set searchurls.d https://duckduckgo.com/?q=
set searchurls.s https://search.cochrun.xyz/?q=
set searchurls.s https://search.tfcconnection.org/?q=
set searchurls.ama https://smile.amazon.com/s/ref=nb_sb_noss?url=search-alias%3Daps&field-keywords=
set searchurls.google https://www.google.com/search?q=
set searchurls.googlelucky https://www.google.com/search?btnI=I'm+Feeling+Lucky&q=
@ -49,9 +49,12 @@ set quickmark od https://odysee.com/$/following
"" Org Capture
command org-capture composite get_current_url | js -p tri.excmds.exclaim_quiet('org-capture ' + JS_ARG);
" MPV
command mpv js -p tri.excmds.shellescape(JS_ARG).then(url => tri.excmds.exclaim_quiet('mpv --profile=fast ' + url))
"" Adding my own bindings
bind v hint -W mpvsafe
bind gv current_url mpvsafe
bind v hint -W mpv
bind gv current_url mpv
bind F hint -w
bind gy hint -y
bind gc org-capture

View file

@ -1,16 +1,16 @@
{
// "layer": "top", // Waybar at top layer
"position": "bottom", // Waybar position (top|bottom|left|right)
"height": 25, // Waybar height (to be removed for auto height)
"height": 30, // Waybar height (to be removed for auto height)
// "width": 1280, // Waybar width
// Choose the order of the modules
"modules-left": ["sway/workspaces", "wlr/taskbar", "river/tags", "sway/mode", "sway/window"],
// Choose the order of the modules "custom/wintitle",
"modules-left": ["sway/workspaces", "river/tags", "sway/mode", "sway/window"],
"modules-center": ["clock"],
"modules-right": ["pulseaudio", "network", "memory", "cpu", "battery", "battery#bat2", "tray"],
"margin-top": 0,
"margin-bottom": 0,
"margin-left": 0,
"margin-right": 0,
"margin-bottom": 10,
"margin-left": 10,
"margin-right": 10,
// Modules configuration
"sway/workspaces": {
"disable-scroll": true,
@ -112,7 +112,7 @@
"format": "{icon} {volume}% {format_source}",
"format-bluetooth": "{icon} {volume}% {format_source}",
"format-bluetooth-muted": " {icon} {format_source}",
"format-muted": " {format_source}",
"format-muted": "ﱝ muted",
"format-source": " {volume}%",
"format-source-muted": "",
"format-icons": {
@ -138,12 +138,22 @@
"exec": "$HOME/.config/waybar/mediaplayer.py 2> /dev/null" // Script in resources folder
// "exec": "$HOME/.config/waybar/mediaplayer.py --player spotify 2> /dev/null" // Filter player based on name
},
"custom/wintitle": {
"format": " {icon} {}",
"max-length": 80,
//"format-icons": {
// "spotify": "",
// "default": "🎜"
//},
"interval": 1,
"exec": "wintitle"
},
"wlr/taskbar": {
"format": "{icon} {title}",
"format": "{icon}",
"icon-size": 20,
"icon-theme": "Papirus-Dark",
"tooltip-format": "{title}",
"max-length": 20,
"max-length": 10,
"on-click": "activate",
"on-click-middle": "close"
},

View file

@ -17,8 +17,8 @@
@define-color basetransparent rgba(40, 42, 54, 0.0);
@define-color backtransparent rgba(40, 42, 54, 0.7);
* {
border: none;
border-radius: 0;
border: 1px;
border-radius: 20;
font-family: VictorMono Nerd Font;
font-size: 15px;
font-weight: normal;

View file

@ -69,18 +69,28 @@ saturation = 1.000000
toggle = none
[command]
binding_agenda = <super> KEY_APOSTROPHE
binding_browser = <super> KEY_B
binding_dolphin = <super> <shift> KEY_D
binding_emacs = <super> KEY_E
binding_launcher = KEY_COMPOSE
binding_kanshi = <super> <ctrl> KEY_R
binding_killnotif = <super> <alt> KEY_M
binding_launcher = <super> KEY_SPACE
binding_mute = KEY_MUTE
binding_run = <super> KEY_COMPOSE
binding_quit = <super> <shift> KEY_Q
binding_run = <super> KEY_R
binding_screenshot = KEY_PRINT
binding_screenshot_interactive = <shift> KEY_PRINT
binding_screenshot_interactive = <super> KEY_PRINT
binding_terminal = <super> KEY_ENTER
command_agenda = emacsclient -e '(chris/org-agenda)'
command_browser = qutebrowser &
command_dolphin = dolphin
command_emacs = emacsclient -c -a emacs
command_launcher = rofi -show drun -modi drun
command_killnotif = makoctl dismiss --all
command_kanshi = kanshi
command_launcher = wofi -S drun
command_mute = pactl set-sink-mute @DEFAULT_SINK@ toggle
command_quit = killall wayfire
command_run = rofi -show run -modi run
command_screenshot = grim $(date '+%F_%T').webp
command_screenshot_interactive = slurp | grim -g - $(date '+%F_%T').webp
@ -97,7 +107,7 @@ focus_button_with_modifiers = false
focus_buttons = BTN_LEFT | BTN_MIDDLE | BTN_RIGHT
focus_buttons_passthrough = true
max_render_time = -1
plugins = alpha animate autostart command cube decoration expo fast-switcher grid idle invert move oswitch place resize switcher vswitch window-rules wobbly zoom simple-tile blur scale alpha vswipe wm-actions
plugins = alpha animate autostart command cube decoration expo fast-switcher window-shadows grid idle invert move oswitch place resize switcher vswitch window-rules wobbly zoom simple-tile blur scale alpha vswipe wm-actions workspace-names winshadows
preferred_decoration_mode = server
vheight = 2
vwidth = 2
@ -146,7 +156,7 @@ select_workspace_6 = KEY_6
select_workspace_7 = KEY_7
select_workspace_8 = KEY_8
select_workspace_9 = KEY_9
toggle = <super> KEY_W | swipe up 0
toggle = <super> KEY_W | swipe up 3 | hotspot left-top 100x10 100
[extra-gestures]
close_fingers = 20
@ -162,6 +172,8 @@ radius = 450.000000
toggle = <ctrl> <super> KEY_F
zoom = 7.000000
[follow-cursor-bindings]
[follow-focus]
change_output = true
change_view = true
@ -203,8 +215,8 @@ toggle = none
[input]
click_method = default
cursor_size = 24
cursor_theme = Breeze-Snow
cursor_size = 48
cursor_theme = breeze-snow
disable_touchpad_while_mouse = false
disable_touchpad_while_typing = true
gesture_sensitivity = 1.000000
@ -221,7 +233,7 @@ natural_scroll = true
scroll_method = default
tap_to_click = true
touchpad_accel_profile = default
touchpad_cursor_speed = 1.000000
touchpad_cursor_speed = 0.300000
touchpad_scroll_speed = 1.000000
xkb_layout = us
xkb_model =
@ -274,23 +286,26 @@ mode = center
[preserve-output]
last_output_focus_timeout = 10000
[primary-monitor-switch]
external-monitor = HDMI-A-2
[resize]
activate = <super> BTN_RIGHT
[scale]
allow_zoom = true
bg_color = \#1A1A1AE6
duration = 200
duration = 250
inactive_alpha = 0.350000
interact = false
middle_click_close = false
middle_click_close = true
spacing = 50
text_color = \#CCCCCCFF
title_font_size = 16
title_font_size = 24
title_overlay = all
title_position = center
toggle = <super> KEY_P
toggle_all = <super> KEY_M
toggle = <shift> <super> KEY_P
toggle_all = <shift> <super> KEY_M
[scale-title-filter]
bg_color = \#282A3680
@ -316,7 +331,7 @@ key_focus_right = <super> KEY_L
key_toggle = <shift> <super> KEY_T
outer_horiz_gap_size = 20
outer_vert_gap_size = 20
tile_by_default = if app_id is "emacs" & app_id is "alacritty"
tile_by_default = all
[switcher]
next_view = <super> KEY_TAB
@ -328,9 +343,9 @@ view_thumbnail_scale = 1.000000
background = \#1A1A1AFF
delta_threshold = 24.000000
duration = 180
enable_free_movement = false
enable_free_movement = true
enable_horizontal = true
enable_smooth_transition = false
enable_smooth_transition = true
enable_vertical = true
fingers = 4
gap = 32.000000
@ -340,14 +355,14 @@ threshold = 0.350000
[vswitch]
background = \#1A1A1AFF
binding_down = <ctrl> <super> KEY_DOWN
binding_left = <ctrl> <super> KEY_LEFT
binding_right = <ctrl> <super> KEY_RIGHT
binding_up = <ctrl> <super> KEY_UP
binding_win_down = <ctrl> <shift> <super> KEY_DOWN
binding_win_left = <ctrl> <shift> <super> KEY_LEFT
binding_win_right = <ctrl> <shift> <super> KEY_RIGHT
binding_win_up = <ctrl> <shift> <super> KEY_UP
binding_down = <alt> <super> KEY_J
binding_left = <alt> <super> KEY_H
binding_right = <alt> <super> KEY_L
binding_up = <alt> <super> KEY_K
binding_win_down = <shift> <super> KEY_J
binding_win_left = <shift> <super> KEY_H
binding_win_right = <shift> <super> KEY_L
binding_win_up = <shift> <super> KEY_K
duration = 300
gap = 20
wraparound = false
@ -360,6 +375,13 @@ rule_1 = on created if app_id is "emacs" then set alpha 0.8
rule_2 = on created if app_id is "dolphin" then float
rule_3 = on created if app_id is "emacs" then tile
[winshadows]
clip_shadow_inside = true
enabled_views = type is "toplevel"
include_undecorated_views = true
shadow_color = \#FFFFFF
shadow_radius = 30
[winzoom]
dec_x_binding = <ctrl> <super> KEY_LEFT
dec_y_binding = <ctrl> <super> KEY_UP
@ -376,7 +398,7 @@ toggle_always_on_top = <super> KEY_T
toggle_fullscreen = <super> KEY_F
toggle_maximize = <super> KEY_M
toggle_showdesktop = none
toggle_sticky = none
toggle_sticky = <super> KEY_0
[wobbly]
friction = 3.000000
@ -390,8 +412,8 @@ dynamic_repaint_delay = false
[workspace-names]
background_color = \#333333B3
display_duration = 500
font = sans-serif
display_duration = 300
font = VictorMono Nerd Font
position = center
show_option_names = false
text_color = \#FFFFFFFF

View file

@ -56,7 +56,6 @@ window {
margin-left: 10px;
margin-top: 2px;
margin-bottom: 2px;
-gtk-icon-transform: scale 0.5;
}
#entry:selected {