a lot of laptop changes

This commit is contained in:
Chris Cochrun 2021-12-06 06:05:41 -06:00
parent 8e179c3910
commit 9a725dcc03
35 changed files with 275 additions and 180 deletions

View file

@ -654,6 +654,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.name "Display Window") (set c.fullscreen true))
(awful.client.focus.byidx 1) (awful.client.focus.byidx 1)
;; Rounded windows done right ;; Rounded windows done right
@ -705,6 +706,7 @@
(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 "autorandr -c")
;; (awful.spawn.once "nm-applet") (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 "latte-dock") ;; (awful.spawn.once "latte-dock")

View file

@ -152,7 +152,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 "env QT_QPA_PLATFORMTHEME=qt5ct dolphin"))
{: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"}))
@ -161,8 +161,6 @@
{:description "launch org-agenda in new emacs frame" :group "apps" }) {:description "launch org-agenda in new emacs frame" :group "apps" })
(awful.key [ modkey alt ] "m" (fn [] (awful.spawn "emacsclient -c -e '(org-roam-capture)'")) (awful.key [ modkey alt ] "m" (fn [] (awful.spawn "emacsclient -c -e '(org-roam-capture)'"))
{:description "launch org-roam-capture in new emacs frame" :group "apps" }) {:description "launch org-roam-capture in new emacs frame" :group "apps" })
(awful.key [ modkey shift ] "x" (fn [] (awful.spawn "emacsclient -c -e '(doom/switch-to-scratch-buffer)'"))
{:description "launch scratchpad in new emacs frame" :group "apps" })
(awful.key [ modkey ] "i" (fn [] (awful.spawn "emacsclient -c -e '(mu4e)'")) (awful.key [ modkey ] "i" (fn [] (awful.spawn "emacsclient -c -e '(mu4e)'"))
{:description "launch mu4e in new emacs frame" :group "apps" }) {:description "launch mu4e in new emacs frame" :group "apps" })
(awful.key [ modkey shift ] "Return" (fn [] (awful.spawn "emacsclient -c -e '(+eshell/frame)'")) (awful.key [ modkey shift ] "Return" (fn [] (awful.spawn "emacsclient -c -e '(+eshell/frame)'"))

View file

@ -95,6 +95,10 @@
:rule_any { :rule_any {
:instance [ :instance [
"emacs" "emacs"
"scribus"
]
:class [
"scribus"
] ]
} }
:properties { :properties {

View file

@ -22,7 +22,7 @@ proc_update_mult=2
#* Processes sorting, "pid" "program" "arguments" "threads" "user" "memory" "cpu lazy" "cpu responsive", #* Processes sorting, "pid" "program" "arguments" "threads" "user" "memory" "cpu lazy" "cpu responsive",
#* "cpu lazy" updates top process over time, "cpu responsive" updates top process directly. #* "cpu lazy" updates top process over time, "cpu responsive" updates top process directly.
proc_sorting="memory" proc_sorting="cpu responsive"
#* Reverse sorting order, True or False. #* Reverse sorting order, True or False.
proc_reversed=False proc_reversed=False

View file

@ -10,47 +10,48 @@
#urlbar-container{ min-width:unset !important } #urlbar-container{ min-width:unset !important }
} }
/* Transparent tabs */ /* /\* Transparent tabs *\/ */
.toolbar-items:-moz-lwtheme-darktext, /* .toolbar-items:-moz-lwtheme-darktext, */
.toolbar-items:-moz-lwtheme-brighttext { /* .toolbar-items:-moz-lwtheme-brighttext { */
background-color: transparent !important; /* background-color: transparent !important; */
-moz-appearance: var(--bf-moz-appearance) !important; /* -moz-appearance: var(--bf-moz-appearance) !important; */
} /* } */
/* Stretch Tabs */ /* Stretch Tabs */
.tabbrowser-tab[fadein]:not([pinned]) { .tabbrowser-tab[fadein]:not([pinned]) {
max-width: none !important; max-width: none !important;
} }
.tab-background:-moz-lwtheme-darktext, /* .tab-background:-moz-lwtheme-darktext, */
.tab-background:-moz-lwtheme-brighttext { /* .tab-background:-moz-lwtheme-brighttext { */
background: transparent !important; /* background: transparent !important; */
-moz-appearance: var(--bf-moz-appearance) !important; /* -moz-appearance: var(--bf-moz-appearance) !important; */
} /* } */
.tab-background[selected="true"] { /* .tab-background[selected="true"] { */
background: var(--bf-tab-selected-bg) !important; /* background: var(--bf-tab-selected-bg) !important; */
} /* } */
.tab-background:not[visuallyselected] { /* .tab-background:not[visuallyselected] { */
background: var(--bf-tab-selected-bg) !important; /* background: var(--bf-tab-selected-bg) !important; */
opacity: 0.5 !important; /* opacity: 0.5 !important; */
} /* } */
/* Style all the lines before and after selected tab */ /* /\* Style all the lines before and after selected tab *\/ */
.tabbrowser-tab::after, /* .tabbrowser-tab::after, */
.tabbrowser-tab::before { /* .tabbrowser-tab::before { */
border-width: 1px !important; /* border-width: 1px !important; */
} /* } */
.tabbrowser-arrowscrollbox { /* .tabbrowser-arrowscrollbox { */
margin-inline-start: 4px !important; /* margin-inline-start: 4px !important; */
margin-inline-end: 0 !important; /* margin-inline-end: 0 !important; */
} /* } */
/* Center all content */ /* Center all content */
.tab-content { .tab-content {
display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
margin-top: -1px; margin-top: -1px;
@ -71,92 +72,91 @@ the close button is positioned to the far right */
opacity: 1 !important; opacity: 1 !important;
} }
/* If tab close button is not present, don't force favicon to the center */ /* /\* If tab close button is not present, don't force favicon to the center *\/ */
#tabbrowser-tabs[closebuttons="activetab"] .tabbrowser-tab:not([selected="true"]) .tab-throbber, /* #tabbrowser-tabs[closebuttons="activetab"] .tabbrowser-tab:not([selected="true"]) .tab-throbber, */
#tabbrowser-tabs[closebuttons="activetab"] .tabbrowser-tab:not([selected="true"]) .tab-throbber-fallback, /* #tabbrowser-tabs[closebuttons="activetab"] .tabbrowser-tab:not([selected="true"]) .tab-throbber-fallback, */
#tabbrowser-tabs[closebuttons="activetab"] .tabbrowser-tab:not([selected="true"]):not([busy]) .tab-icon-image, /* #tabbrowser-tabs[closebuttons="activetab"] .tabbrowser-tab:not([selected="true"]):not([busy]) .tab-icon-image, */
#tabbrowser-tabs[closebuttons="activetab"] .tabbrowser-tab:not([selected="true"]):not([image]) .tab-label-container { /* #tabbrowser-tabs[closebuttons="activetab"] .tabbrowser-tab:not([selected="true"]):not([image]) .tab-label-container { */
margin-left: 0 !important; /* margin-left: 0 !important; */
} /* } */
#toolbar-menubar{ height:initial !important; } /* #toolbar-menubar{ height:initial !important; } */
#toolbar-menubar[inactive] > #menubar-items{ opacity: 0; pointer-events: none; } /* #toolbar-menubar[inactive] > #menubar-items{ opacity: 0; pointer-events: none; } */
#toolbar-menubar[inactive]{ /* #toolbar-menubar[inactive]{ */
margin-bottom: calc(0px - var(--uc-toolbar-height)); /* margin-bottom: calc(0px - var(--uc-toolbar-height)); */
margin-left: 0px; /* margin-left: 0px; */
height: calc(var(--uc-toolbar-height) - 5) !important; /* height: calc(var(--uc-toolbar-height) - 5) !important; */
} /* } */
#tabs-newtab-button { #tabs-newtab-button {
visibility: hidden !important; visibility: hidden !important;
} }
#TabsToolbar{ #TabsToolbar{
margin-right: calc(0px + var(--uc-navigationbar-width)); margin-top: -44px !important;
/* Remove empty space above tabs so that tabs are clickable at very top of screen */
margin-left: 10px;
margin-top: -31px !important;
max-height: 20px !important;
font-size: 13px !important;
z-index: 10;
} }
#toolbar-menubar[autohide="true"] > .titlebar-buttonbox-container, /* .scrollbox-clip > scrollbox:nth-child(1){ */
#tabbrowser-tabs, /* margin-top; -10px !important; */
.tabbrowser-tab[pinned]{ /* } */
margin-left: -10px;
}
.tabbrowser-tab[selected]{ /* #toolbar-menubar[autohide="true"] > .titlebar-buttonbox-container, */
min-width: 200px !important; /* #tabbrowser-tabs, */
max-width: 2600px !important; /* .tabbrowser-tab[pinned]{ */
max-height: 20px !important; /* margin-left: -10px; */
height: 20px !important; /* margin-top: -42px !important; */
min-height: 20px !important; /* } */
box-shadow: 0px 0px 6px 3px #111;
}
.tabbrowser-tab[pinned]{ /* .tabbrowser-tab[selected]{ */
max-width: 35px !important; /* min-width: 200px !important; */
min-width: 0px !important; /* max-width: 2600px !important; */
} /* max-height: 20px !important; */
/* height: 20px !important; */
/* min-height: 20px !important; */
/* box-shadow: 0px 0px 6px 3px #111; */
/* } */
.tabbrowser-tab{ /* .tabbrowser-tab[pinned]{ */
max-width: 80px !important; /* max-width: 35px !important; */
min-width: 10px !important; /* min-width: 0px !important; */
} /* } */
.tab-background { /* .tabbrowser-tab{ */
border-top: 0px !important; /* max-width: 80px !important; */
} /* min-width: 10px !important; */
/* } */
.tab-icon-pending, .tab-icon-image, .tab-sharing-icon-overlay .tab-icon-sound{ /* .tab-background { */
max-height: 13px !important; /* border-top: 0px !important; */
height: 13px !important; /* } */
min-height: 13px !important;
min-width: 13px !important;
max-width: 13px !important;
align-self: center !important;
}
.tab-throbber, .tab-throbber-tabslist { /* .tab-icon-pending, .tab-icon-image, .tab-sharing-icon-overlay .tab-icon-sound{ */
max-height: 18px !important; /* max-height: 13px !important; */
height: 18px !important; /* height: 13px !important; */
min-height: 18px !important; /* min-height: 13px !important; */
min-width: 16px !important; /* min-width: 13px !important; */
max-width: 16px !important; /* max-width: 13px !important; */
align-self: center !important; /* align-self: center !important; */
} /* } */
#nav-bar{ /* .tab-throbber, .tab-throbber-tabslist { */
margin-left: calc(100vw - var(--uc-navigationbar-width)); /* max-height: 18px !important; */
margin-top: calc(0px - var(--uc-toolbar-height)); /* height: 18px !important; */
padding-right: calc(3 * 46px + var(--window-drag-space-width)); /* min-height: 18px !important; */
/* min-width: 16px !important; */
/* max-width: 16px !important; */
/* align-self: center !important; */
/* } */
} /* #nav-bar{ */
/* 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 */ /* Hide dropdown placeholder */
#urlbar-container:not(:hover) .urlbar-history-dropmarker{margin-inline-start: -28px;} /* #urlbar-container:not(:hover) .urlbar-history-dropmarker{margin-inline-start: -28px;} */
/* Autohide Navbar */ /* Autohide Navbar */
@ -166,7 +166,7 @@ the close button is positioned to the far right */
min-height: 0px !important; min-height: 0px !important;
max-height: 0px !important; max-height: 0px !important;
margin-top: -6px !important; margin-top: -6px !important;
margin-bottom: 14px !important; margin-bottom: 0px !important;
margin-right: 70px !important; margin-right: 70px !important;
margin-left: 70px !important; margin-left: 70px !important;
transition: all 300ms ease .5s !important; transition: all 300ms ease .5s !important;
@ -179,10 +179,10 @@ the close button is positioned to the far right */
#navigator-toolbox:hover:not([inFullscreen]) :-moz-any(#nav-bar), #navigator-toolbox:hover:not([inFullscreen]) :-moz-any(#nav-bar),
#navigator-toolbox:focus-within :-moz-any(#nav-bar) { #navigator-toolbox:focus-within :-moz-any(#nav-bar) {
/*visibility: visible !important;*/ /*visibility: visible !important;*/
min-height: 32px !important; min-height: 34px !important;
max-height: 32px !important; max-height: 34px !important;
margin-top: 10px !important; margin-top: 10px !important;
margin-bottom: -38px !important; margin-bottom: -48px !important;
transition: all 200ms ease 0s !important; transition: all 200ms ease 0s !important;
z-index: 5 !important; z-index: 5 !important;
border: 0px !important; border: 0px !important;
@ -191,7 +191,7 @@ the close button is positioned to the far right */
/* make urlbar rounded */ /* make urlbar rounded */
#urlbar{ #urlbar{
margin-top: 31px !important; /* margin-top: 31px !important; */
padding-right: 10px !important; padding-right: 10px !important;
padding-left: 10px !important; padding-left: 10px !important;
} }
@ -205,23 +205,23 @@ the close button is positioned to the far right */
border-radius: 15px !important; border-radius: 15px !important;
} }
#urlbar[breakout][breakout-extend] { /* #urlbar[breakout][breakout-extend] { */
margin-top: 20px !important; /* margin-top: 20px !important; */
top: 0px !important; /* top: 0px !important; */
} /* } */
#urlbar[breakout][breakout-extend] > #urlbar-input-container { /* #urlbar[breakout][breakout-extend] > #urlbar-input-container { */
height: calc(var(--uc-toolbar-height) + 12 * 2px) !important; /* height: calc(var(--uc-toolbar-height) + 12 * 2px) !important; */
padding-block: calc(2px + (var(--uc-toolbar-height) - var(--urlbar-height)) / 2); /* padding-block: calc(2px + (var(--uc-toolbar-height) - var(--urlbar-height)) / 2); */
padding-inline: calc(5px + 2px); /* padding-inline: calc(5px + 2px); */
} /* } */
#nav-bar-customization-target{ #nav-bar-customization-target{
margin-top: -20px; margin-top: -4px;
} }
#nav-bar-overflow-button{ #nav-bar-overflow-button{
margin-top: -20px !important; margin-top: -4px !important;
} }
#PanelUI-button{ #PanelUI-button{
margin-top: -20px !important; margin-top: -4px !important;
} }

View file

@ -211,6 +211,8 @@ 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" alias suspend "systemctl suspend"
alias ec "emacsclient -t"
alias ecc "emacsclient -c"
### Start X at login ### Start X at login
if status is-login if status is-login

View file

@ -7,3 +7,9 @@ profile office {
output DP-4 mode 1366x768 position 1500,0 scale 1 output DP-4 mode 1366x768 position 1500,0 scale 1
exec notify-send 'office monitors setup' exec notify-send 'office monitors setup'
} }
profile church {
output eDP-1 mode 2256x1504 position 0,0 scale 1.5
output DP-3 mode 3840x2160 position 1500,0 scale 2
exec notify-send 'office monitors setup'
}

View file

@ -3,7 +3,7 @@ osc=no
vo=gpu vo=gpu
af=scaletempo2 af=scaletempo2
autofit=80% autofit=80%
geometry=70%:70% geometry=80%:80%
# input-ipc-server="/tmp/mpvsocket" # input-ipc-server="/tmp/mpvsocket"
hwdec=auto hwdec=auto
rtsp-transport=udp rtsp-transport=udp

View file

@ -6,15 +6,19 @@
config_version: 2 config_version: 2
settings: settings:
colors.webpage.darkmode.enabled:
global: true
content.desktop_capture: content.desktop_capture:
https://jitsi.tfcconnection.org: true https://jitsi.tfcconnection.org: true
content.geolocation: content.geolocation:
https://openweathermap.org: false https://openweathermap.org: false
https://staff.tfcconnection.org: true
content.media.audio_capture: content.media.audio_capture:
https://jitsi.tfcconnection.org: true https://jitsi.tfcconnection.org: true
https://staff.tfcconnection.org: true https://staff.tfcconnection.org: true
content.media.audio_video_capture: content.media.audio_video_capture:
global: ask global: ask
https://jitsi.riot.im: false
https://jitsi.tfcconnection.org: true https://jitsi.tfcconnection.org: true
https://staff.tfcconnection.org: true https://staff.tfcconnection.org: true
content.media.video_capture: content.media.video_capture:
@ -32,8 +36,10 @@ settings:
https://www.websitebuilderexpert.com: false https://www.websitebuilderexpert.com: false
https://www.youtube.com: false https://www.youtube.com: false
content.register_protocol_handler: content.register_protocol_handler:
https://calendar.google.com?cid=%25s: false
https://outlook.live.com?mailtouri=%25s: false https://outlook.live.com?mailtouri=%25s: false
https://outlook.office.com?mailtouri=%25s: false https://outlook.office.com?mailtouri=%25s: false
https://staff.tfcconnection.org: true
tabs.show: tabs.show:
global: always global: always
zoom.default: zoom.default:

View file

@ -1,3 +1,4 @@
https://yewtu.be/feed/subscriptions Subscriptions - YewTube https://yewtu.be/feed/subscriptions Subscriptions - YewTube
https://portal.azure.com/#@tfcconnection.org/dashboard/private/e5f3455d-3737-47d8-852b-1847a3b4801b Dashboard - Microsoft Azure https://portal.azure.com/#@tfcconnection.org/dashboard/private/e5f3455d-3737-47d8-852b-1847a3b4801b Dashboard - Microsoft Azure
https://asciiflow.com/#/ ASCIIFlow https://asciiflow.com/#/ ASCIIFlow
https://photos.cochrun.xyz/people/new PhotoPrism: People

View file

@ -1059,7 +1059,7 @@ c.content.headers.do_not_track = True
## setting with a URL pattern instead. Local domains are always exempt ## setting with a URL pattern instead. Local domains are always exempt
## from hostblocking. ## from hostblocking.
## Type: List of UrlPattern ## Type: List of UrlPattern
# c.content.host_blocking.whitelist = [] c.content.blocking.whitelist = ['https://staff.tfcconnection.org']
## Enable hyperlink auditing (`<a ping>`). ## Enable hyperlink auditing (`<a ping>`).
## Type: Bool ## Type: Bool
@ -2487,11 +2487,11 @@ config.bind("gv", "spawn --detach mpv --profile=fast --force-window yes --ytdl=b
config.bind("gc", 'spawn org-capture "{url}"') config.bind("gc", 'spawn org-capture "{url}"')
config.bind( config.bind(
"gV", "gV",
"hint links spawn alacritty -e youtube-dl -o ~/Videos/%(title)s.%(ext)s {hint-url}", "hint links spawn alacritty -e yt-dlp -o ~/Videos/%(title)s.%(ext)s {hint-url}",
) )
config.bind( config.bind(
"ga", "ga",
"hint links spawn alacritty -e youtube-dl -x --audio-format mp3 --audio-quality 0 --embed-thumbnail --add-metadata -o ~/Music/%(title)s.%(ext)s {hint-url}", "hint links spawn alacritty -e yt-dlp -x --audio-format mp3 --audio-quality 0 --embed-thumbnail --add-metadata -o ~/Music/%(title)s.%(ext)s {hint-url}",
) )

View file

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

View file

@ -24,3 +24,5 @@ nc https://nc.cochrun.xyz/apps/files/
oml https://outlook.live.com/mail/0/inbox oml https://outlook.live.com/mail/0/inbox
stb https://table.tfcconnection.org/ stb https://table.tfcconnection.org/
tms https://teams.microsoft.com/_#/conversations/General tms https://teams.microsoft.com/_#/conversations/General
n8n https://n8n.tfcconnection.org/workflow
stbdocs https://api.seatable.io/#intro

View file

@ -57,7 +57,7 @@ window {
transparency: "real"; transparency: "real";
border-radius: 16px; border-radius: 16px;
border: 0px; border: 0px;
width: 40%; width: 60%;
location: center; location: center;
anchor: center; anchor: center;
x-offset: 0; x-offset: 0;

View file

@ -0,0 +1,12 @@
/*-*- mode: css; -*-*/
configuration {
font: "VictorMono Nerd Font 12.0";
show-icons: false;
}
@import "/home/chris/.config/rofi/config.rasi"
window {
background-color: @base00;
}

View file

@ -2,7 +2,11 @@
configuration { configuration {
font: "VictorMono Nerd Font 22.0"; font: "VictorMono Nerd Font 24.0";
show-icons: false; show-icons: false;
} }
@import "/home/chris/.config/rofi/config.rasi" @import "/home/chris/.config/rofi/config.rasi"
window {
background-color: @base00t;
}

View file

@ -0,0 +1,14 @@
/*-*- mode: css; -*-*/
configuration {
font: "VictorMono Nerd Font 12.0";
show-icons: false;
}
@import "/home/chris/.config/rofi/config.rasi"
window {
width: 70%;
background-color: @base00;
}

View file

@ -2,7 +2,7 @@
configuration { configuration {
font: "VictorMono Nerd Font 22.0"; font: "VictorMono Nerd Font 24.0";
show-icons: false; show-icons: false;
} }
@import "/home/chris/.config/rofi/config.rasi" @import "/home/chris/.config/rofi/config.rasi"
@ -10,4 +10,5 @@ configuration {
window { window {
width: 70%; width: 70%;
background-color: @base00t;
} }

View file

@ -0,0 +1,13 @@
/*-*- mode: css; -*-*/
configuration {
font: "VictorMono Nerd Font 12.0";
show-icons: true;
}
@import "/home/chris/.config/rofi/config.rasi"
window {
background-color: @base00;
}

View file

@ -2,7 +2,12 @@
configuration { configuration {
font: "VictorMono Nerd Font 22.0"; font: "VictorMono Nerd Font 24.0";
show-icons: true; show-icons: true;
} }
@import "/home/chris/.config/rofi/config.rasi" @import "/home/chris/.config/rofi/config.rasi"
window {
background-color: @base00t;
}

View file

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

View file

@ -1,6 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
export QT_QPA_PLATFORMTHEME='qt5ct' # export QT_QPA_PLATFORMTHEME='qt5ct'
function run { function run {
if ! pgrep -f $1 ; if ! pgrep -f $1 ;

View file

@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh
# Check to see if firefox is running # Check to see if firefox is running
if [ $(pgrep -c firefox) -gt 0 ]; then if [ $(pgrep -c GeckoMain) -gt 0 ]; then
if [ $XDG_SESSION_TYPE = "x11" ]; then if [ $XDG_SESSION_TYPE = "x11" ]; then
#X11 #X11

View file

@ -1,13 +1,17 @@
#!/bin/sh #!/bin/sh
if [ $(hostname) = "syl" ]; then if [ $(hostname) = "syl" ]; then
style="laptop" if [ $XDG_SESSION_TYPE = "x11" ]; then
style="laptop-search"
else else
style="desktop" style="laptop-search-wayland"
fi
else
style="desktop-search"
#echo "this is not hidpi" #echo "this is not hidpi"
fi fi
lolcate | rofi -dmenu -p "File Search:" -i -matching regex -theme ~/.config/rofi/launchers-git/$style-search.rasi | xargs -r0 xdg-open $@ & lolcate | rofi -dmenu -p "File Search:" -i -matching regex -theme ~/.config/rofi/launchers-git/$style.rasi | xargs -r0 xdg-open $@ &
c=0 c=0
while ! xprop -f _KDE_NET_WM_BLUR_BEHIND_REGION 32c -set _KDE_NET_WM_BLUR_BEHIND_REGION 0 -id $(xdotool search -class 'rofi') ; do while ! xprop -f _KDE_NET_WM_BLUR_BEHIND_REGION 32c -set _KDE_NET_WM_BLUR_BEHIND_REGION 0 -id $(xdotool search -class 'rofi') ; do
sleep .1 sleep .1

View file

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

View file

@ -1,3 +1,4 @@
#!/bin/sh #!/bin/sh
killall mako
killall latte-dock killall latte-dock
latte-dock & latte-dock &

View file

@ -2,7 +2,7 @@
# Very basic interface for rbw using rofi # Very basic interface for rbw using rofi
if [ $(hostname) = "syl" ]; then if [ $(hostname) = "syl" ]; then
style="laptop-rbw" style="laptop-rbw-wayland"
#echo "this is hidpi" #echo "this is hidpi"
else else
style="desktop-rbw" style="desktop-rbw"

View file

@ -14,7 +14,7 @@ root=~/.password-store
CACHE=~/.local/tmp/pass_rofi CACHE=~/.local/tmp/pass_rofi
seat=seat0 seat=seat0
rbw sync # rbw sync
rbw list rbw list
list_passwords() { list_passwords() {

14
scripts/stream-setup.sh Executable file
View file

@ -0,0 +1,14 @@
#!/bin/sh
# Let's setup the streaming service for LuctorCRC
peertubestreamkey=$(kdialog --password "What is the stream key for the website?")
facebookstreamkey=$(kdialog --password "What is the stream key for Facebook?")
echo $peertubestreamkey
echo $facebookstreamkey
ssh chris@40.122.147.124 sudo sed -i -e "s#luctorcrc.org.*#luctorcrc.org/live/$peertubestreamkey\;#" nginx-restream/data/nginx.conf
ssh chris@40.122.147.124 sudo sed -i -e "s#/rtmp/.*#/rtmp/$facebookstreamkey\;#" /etc/nginx/nginx.conf
# ssh chris@40.122.147.124 'sudo systemctl restart nginx'
ssh chris@40.122.147.124 sudo docker-compose down && sudo docker-compose up -d

2
scripts/surfingkeys-mpv.sh Executable file
View file

@ -0,0 +1,2 @@
#!/bin/sh
mpv $wl-paste

View file

@ -12,7 +12,7 @@ set $term alacritty
set $menu wofi --show drun | xargs swaymsg exec -- set $menu wofi --show drun | xargs swaymsg exec --
### Output configuration ### Output configuration
output * bg /usr/share/wallpapers/Flow/contents/images/5120x2880.jpg fill output * bg /home/chris/Pictures/wallpapers/tech.jpg fill
###old ~/Pictures/wallpapers/RoyalKing.png ###old ~/Pictures/wallpapers/RoyalKing.png
@ -239,7 +239,7 @@ bindsym $mod+o mode "$mode_launcher"
bindsym $mod+Ctrl+m exec makoctl dismiss -a bindsym $mod+Ctrl+m exec makoctl dismiss -a
bindsym $mod+e exec emacslof bindsym $mod+e exec emacslof
bindsym $mod+b exec nyxtlof bindsym $mod+b exec qblof
bindsym $mod+i exec emacsclient -e '(chris/org-agenda)' bindsym $mod+i exec emacsclient -e '(chris/org-agenda)'
bindsym $mod+m exec emacsclient -c -e '(mu4e)' bindsym $mod+m exec emacsclient -c -e '(mu4e)'
bindsym $mod+Shift+d exec dolphin bindsym $mod+Shift+d exec dolphin
@ -265,7 +265,7 @@ for_window [app_id="__focused__"] opacity set 1
for_window [app_id="qutebrowser"] move container to workspace number 2, opacity set 1 for_window [app_id="qutebrowser"] move container to workspace number 2, opacity set 1
for_window [app_id="nyxt"] move container to workspace number 2, opacity set 1 for_window [app_id="nyxt"] move container to workspace number 2, opacity set 1
for_window [title="Display Window"] move window to workspace number 9, fullscreen enable for_window [title="Display Window"] move window to workspace number 9, fullscreen enable
for_window [title="OpenLP"] move window to workspace number 9, floating enable # for_window [title="OpenLP"] move window to workspace number 9, floating enable
for_window [title="VLC media player"] move window to workspace number 9, fullscreen enable for_window [title="VLC media player"] move window to workspace number 9, fullscreen enable
# for_window [app_id="emacs"] opacity set 0.90 # for_window [app_id="emacs"] opacity set 0.90

View file

@ -2,7 +2,7 @@
Description=mbsync automated sync of mail Description=mbsync automated sync of mail
[Service] [Service]
ExecStart=/home/chris/scripts/mailsync.sh ExecStart=/home/chris/scripts/mailsync
[Install] [Install]
WantedBy=default.target WantedBy=default.target

View file

@ -3,7 +3,7 @@ Description=timer for syncing mail
[Timer] [Timer]
OnStartupSec=2min OnStartupSec=2min
OnUnitActiveSec=30min OnUnitActiveSec=5min
[Install] [Install]
WantedBy=timers.target WantedBy=timers.target

View file

@ -4,7 +4,7 @@
"height": 30, // Waybar height (to be removed for auto height) "height": 30, // Waybar height (to be removed for auto height)
// "width": 1280, // Waybar width // "width": 1280, // Waybar width
// Choose the order of the modules "custom/wintitle", // Choose the order of the modules "custom/wintitle",
"modules-left": ["sway/workspaces", "river/tags", "custom/wintitle", "sway/mode", "sway/window"], "modules-left": ["sway/workspaces", "river/tags", "sway/mode", "sway/window"],
"modules-center": ["clock"], "modules-center": ["clock"],
"modules-right": ["pulseaudio", "network", "memory", "cpu", "battery", "battery#bat2", "tray"], "modules-right": ["pulseaudio", "network", "memory", "cpu", "battery", "battery#bat2", "tray"],
"margin-top": 0, "margin-top": 0,

View file

@ -37,7 +37,7 @@ rotate_up = <ctrl> <super> KEY_K
[autostart] [autostart]
autostart_wf_shell = false autostart_wf_shell = false
bar = waybar bar = waybar
bg = swaybg -i /usr/share/wallpapers/Flow/contents/images/5120x2880.jpg -m fill bg = swaybg -i /home/chris/Pictures/wallpapers/tech.jpg -m fill
gamma = wlsunset gamma = wlsunset
notifications = mako notifications = mako
outputs = kanshi outputs = kanshi
@ -87,7 +87,7 @@ binding_screenshot_interactive = <super> KEY_PRINT
binding_terminal = <super> KEY_ENTER binding_terminal = <super> KEY_ENTER
binding_pass = <super> KEY_P binding_pass = <super> KEY_P
command_agenda = emacsclient -e '(chris/org-agenda)' command_agenda = emacsclient -e '(chris/org-agenda)'
command_browser = nyxtlof command_browser = qblof
command_dolphin = dolphin command_dolphin = dolphin
command_emacs = emacslof command_emacs = emacslof
command_kanshi = kanshi command_kanshi = kanshi
@ -446,7 +446,7 @@ rule_3 = on created if app_id is "emacs" then tile
clip_shadow_inside = true clip_shadow_inside = true
enabled_views = all enabled_views = all
include_undecorated_views = true include_undecorated_views = true
shadow_color = \#1A1A1AE6 shadow_color = \#000000E6
shadow_radius = 30 shadow_radius = 30
[winzoom] [winzoom]