some rofi and other changes

This commit is contained in:
Chris Cochrun 2021-10-01 10:44:41 -05:00
parent 3c3559bd84
commit d07781465b
5 changed files with 7 additions and 6 deletions

View file

@ -74,7 +74,7 @@
(if (= "syl\n" stdout) (if (= "syl\n" stdout)
(global laptop true) (global laptop true)
(global laptop false)))) (global laptop false))))
(local laptop false) (local laptop true)
;; Table of layouts to cover with awful.layout.inc, order matters. ;; Table of layouts to cover with awful.layout.inc, order matters.
(set awful.layout.layouts [ (set awful.layout.layouts [
@ -698,5 +698,6 @@
(awful.spawn.once "jellyfin-mpv-shim") (awful.spawn.once "jellyfin-mpv-shim")
(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 "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 "latte-dock") ;; (awful.spawn.once "latte-dock")

View file

@ -171,7 +171,7 @@
{:description "select pass" :group "apps" }) {:description "select pass" :group "apps" })
(awful.key [ modkey shift ] "w" (fn [] (awful.spawn "libreoffice --writer")) (awful.key [ modkey shift ] "w" (fn [] (awful.spawn "libreoffice --writer"))
{:description "Open Writer" :group "apps" }) {:description "Open Writer" :group "apps" })
(awful.key [modkey] "b" (fn [] (awful.spawn "nyxtlof")) (awful.key [modkey] "b" (fn [] (awful.spawn "qblof"))
{:description "launch browser" :group "apps"}) {:description "launch browser" :group "apps"})
;; rofi ;; rofi
(awful.key [] "Menu" (fn [] (awful.spawn "/home/chris/.config/rofi/launchers-git/launcher.sh")) (awful.key [] "Menu" (fn [] (awful.spawn "/home/chris/.config/rofi/launchers-git/launcher.sh"))

View file

@ -6,7 +6,7 @@ configuration {
icon-theme: "Papirus"; icon-theme: "Papirus";
terminal: "alacritty"; terminal: "alacritty";
sidebar-mode: true; sidebar-mode: true;
run-command: "fish -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}";

View file

@ -10,7 +10,7 @@ if pgrep -x nyxt > /dev/null; then
# echo $emacsrg # echo $emacsrg
if [ -z $nyxtrg ]; then if [ -z $nyxtrg ]; then
env GDK_SCALE=2 GDK_DPI_SCALE=0.5 nyxt nyxt
exit exit
else else
wmctrl -ia $nyxtrg wmctrl -ia $nyxtrg
@ -29,5 +29,5 @@ if pgrep -x nyxt > /dev/null; then
fi fi
else else
echo not running echo not running
env GDK_SCALE=2 GDK_DPI_SCALE=0.5 nyxt nyxt
fi fi

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", "sway/mode", "sway/window"], "modules-left": ["sway/workspaces", "river/tags", "custom/wintitle", "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,