From 913089e4afe29475d0dc4015b4b21a5145f8dca9 Mon Sep 17 00:00:00 2001 From: Nate Buttke Date: Wed, 26 Jun 2024 08:24:25 -0700 Subject: update --- kanshi/.config/kanshi/config | 19 +++++++++++++++- river/.config/river/init | 46 ++++++++++++++++++++++++++------------- waybar/.config/waybar/config | 11 +++++++--- waybar/.config/waybar/style.css | 24 ++++++++++---------- zathura/.config/zathura/zathurarc | 44 ++++++++++++++++++++++++++++++++++++- 5 files changed, 112 insertions(+), 32 deletions(-) diff --git a/kanshi/.config/kanshi/config b/kanshi/.config/kanshi/config index bc98a88..303d5cb 100644 --- a/kanshi/.config/kanshi/config +++ b/kanshi/.config/kanshi/config @@ -1,12 +1,29 @@ +profile { + output "Dell Inc. DELL P3222QE J6VZR83" mode 3840x2160@60Hz enable + output eDP-1 disable +} profile { output eDP-1 disable output DP-3 enable } - profile { output eDP-1 disable output DP-4 enable } +profile { + output eDP-1 disable + output DP-5 enable +} + +profile workdock { + output DP-1 enable + output eDP-1 disable +} + +profile { + output HDMI-A-2 enable + output eDP-1 disable +} profile { output eDP-1 enable diff --git a/river/.config/river/init b/river/.config/river/init index c6b549e..f38a0a1 100755 --- a/river/.config/river/init +++ b/river/.config/river/init @@ -3,14 +3,16 @@ # based on default config. # See the river(1), riverctl(1), and rivertile(1) man pages for complete # documentation. -riverctl spawn "kanshi" # Use the "logo" key as the primary modifier mod="Mod4" -#natural scrolling for trackpad. you can find device name with $riverctl list-inputs -riverctl input 1739:0:Synaptics_TM3276-022 natural-scroll enabled -riverctl input 1739:0:Synaptics_TM3276-022 scroll-method two-finger +#natural scrolling for trackpad. you can find device name with $ riverctl list-inputs +riverctl input pointer-1739-0-Synaptics_TM3276-022 scroll-method two-finger +riverctl input pointer-1739-0-Synaptics_TM3276-022 natural-scroll enabled + +#trackpoint +riverctl input pointer-2-10-TPPS/2_IBM_TrackPoint pointer-accel 0.3 # Mod+Return to start an instance of alacritty riverctl map normal $mod Return spawn alacritty @@ -28,14 +30,15 @@ riverctl map normal $mod Home spawn lock riverctl map normal $mod+Shift Home spawn locks #suspend after locking # riverctl map normal $mod Space spawn 'bemenu-run --fn Terminus' -# riverctl map normal $mod Space spawn 'wofi --show=run' -riverctl map normal $mod Space spawn 'rofi -show run' +#riverctl map normal $mod Space spawn 'rofi -normal-window -show run -dpi 1' +riverctl map normal $mod Space spawn 'rofi -show run -dpi 1' # Mod+Q to close the focused view riverctl map normal $mod Q close # Mod+Shift+C to exit river riverctl map normal $mod+Shift C exit +riverctl spawn kanshi # Mod+J and Mod+K to focus the next/previous view in the layout stack riverctl map normal $mod J focus-view next @@ -163,34 +166,47 @@ riverctl set-cursor-warp on-output-change # Set background and border color (defaults) # riverctl background-color 0x002b36 0x224488 riverctl background-color 0x151515 -riverctl border-color-focused 0xcc3333 #0x93a1a1 +riverctl border-color-focused 0x93a1a1 #0xcc3333 # #0xFF91E5 riverctl border-color-unfocused 0x586e75 # Set repeat rate riverctl set-repeat 50 300 # Set app-ids of views which should float -riverctl float-filter-add app-id "org.keepassxc.KeePassXC" -riverctl float-filter-add app-id "Signal" -riverctl float-filter-add app-id "Rofi" -riverctl float-filter-add app-id "Sharing Indicator" +# riverctl float-filter-add app-id "org.keepassxc.KeePassXC" +# riverctl float-filter-add app-id "Signal" +# riverctl float-filter-add app-id "Rofi" +# riverctl float-filter-add app-id "Sharing Indicator" + +riverctl rule-add -app-id "org.keepassxc.KeePassXC" float +riverctl rule-add -app-id "Signal" float +riverctl rule-add -app-id "Rofi" float +riverctl rule-add -app-id "Sharing Indicator" float # Set app-ids of views which should use client side decorations # e.g. riverctl csd-filter-add "gedit" -# riverctl spawn "swaybg -i ~/media/pix/berry.jpg -m center -o '*'" - riverctl spawn "swaybg -i ~/media/pix/bg/Punica_granatum_Dorothea_Eliza_Smith.jpg -m center" +riverctl spawn "swaybg -i ~/media/pix/wallpaper/snow-pounce.jpg -m mirror_fit" +## OLD: +#riverctl spawn "swaybg -i ~/media/pix/internet/100k_camry.jpeg -m center -o '*'" +#riverctl spawn "swaybg -i ~/media/pix/bg/morning_in_the_pasture_edward.jpg -m fill" - riverctl spawn "sunset" +riverctl spawn "sunset" #waybar on startup riverctl spawn waybar #mako on startup riverctl spawn mako - +riverctl spawn "bluetoothctl -- power off" # Set and exec into the default layout generator, rivertile. # River will send the process group of the init executable SIGTERM on exit. +exec dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK & +exec systemctl --user import-environment & + +# RULES +riverctl rule-add ssd # needed this to make firefox border right. + riverctl default-layout rivertile exec rivertile -outer-padding 0 -view-padding 0 diff --git a/waybar/.config/waybar/config b/waybar/.config/waybar/config index cb4b264..c91f692 100644 --- a/waybar/.config/waybar/config +++ b/waybar/.config/waybar/config @@ -1,7 +1,11 @@ { - "height": 20, // Waybar height (to be removed for auto height) "modules-left": ["river/tags"], - "modules-right": ["pulseaudio", "network", "battery","clock"], + "modules-right": ["pulseaudio", "network", "battery", "clock"], + "modules-center": ["custom/notetoself"], + + /*"custom/notetoself": { + "format": "NO GOONING 🔥 Apps are a way for so-so foids to deceive with optical illusion" + },*/ "river/tags": { "num-tags": 9 @@ -10,7 +14,8 @@ "clock": { "tooltip-format": "{:%Y %B}\n{calendar}", "format-alt": "{:%Y-%m-%d}", - "format": "{:%I:%M %P}" + "format": "{:%I:%M %p}" + //"format": "{:%I:%M %P}" }, "backlight": { diff --git a/waybar/.config/waybar/style.css b/waybar/.config/waybar/style.css index 76e830e..2c30e6b 100644 --- a/waybar/.config/waybar/style.css +++ b/waybar/.config/waybar/style.css @@ -1,48 +1,49 @@ +/*#224488 #C02E3B*/ * { border: none; border-radius: 0; - font-family: "Terminus"; - font-size: 13px; + font-family: "Terminus"; /*"Comic Code"*/ + font-size: .9rem; min-height: 0; } #tags{ - margin-top: 2px; - margin-left: 2px; + margin-top: 1px; + margin-left: 1px; padding: 1px; background-color: transparent; } #tags button { margin: 1px; - padding: 2px; + padding: 1px; color: #93a1a1; } #tags button:hover { box-shadow: inherit; text-shadow: inherit; - background: #073624; + background: #224488; } #tags button.focused { color: #073642; background-color: #93a1a1; - border: 2px solid #073624; + border: 1px solid #224488; } #tags button.urgent { color: #073642; background-color: tomato; - border: 2px solid #073624; + border: 1px solid #224488; } #tags button.occupied { - border: 2px solid #93a1a1; + border: 1px solid #93a1a1; } window#waybar { - background: transparent; + background: #224488; color: white; } @@ -61,8 +62,7 @@ window#waybar { } #clock { - font-weight: bold; - font-family: "Terminus"; + /*font-weight: bold;*/ } #battery { diff --git a/zathura/.config/zathura/zathurarc b/zathura/.config/zathura/zathurarc index 4a54647..97ce5f2 100644 --- a/zathura/.config/zathura/zathurarc +++ b/zathura/.config/zathura/zathurarc @@ -1,2 +1,44 @@ set selection-clipboard clipboard -set sandbox none +# set font "Linux Liberine" +#set sandbox none + +set notification-error-bg "#1d2021" # bg +set notification-error-fg "#fb4934" # bright:red +set notification-warning-bg "#1d2021" # bg +set notification-warning-fg "#fabd2f" # bright:yellow +set notification-bg "#1d2021" # bg +set notification-fg "#b8bb26" # bright:green + +set completion-bg "#504945" # bg2 +set completion-fg "#ebdbb2" # fg +set completion-group-bg "#3c3836" # bg1 +set completion-group-fg "#928374" # gray +set completion-highlight-bg "#83a598" # bright:blue +set completion-highlight-fg "#504945" # bg2 + +# Define the color in index mode +set index-bg "#504945" # bg2 +set index-fg "#ebdbb2" # fg +set index-active-bg "#83a598" # bright:blue +set index-active-fg "#504945" # bg2 + +set inputbar-bg "#1d2021" # bg +set inputbar-fg "#ebdbb2" # fg + +set statusbar-bg "#504945" # bg2 +set statusbar-fg "#ebdbb2" # fg + +set highlight-color "#fabd2f" # bright:yellow +set highlight-active-color "#fe8019" # bright:orange + +set default-bg "#1d2021" # bg +set default-fg "#ebdbb2" # fg +set render-loading true +set render-loading-bg "#1d2021" # bg +set render-loading-fg "#ebdbb2" # fg + +# Recolor book content's color +set recolor-lightcolor "#1d2021" # bg +set recolor-darkcolor "#ebdbb2" # fg +set recolor "true" +# set recolor-keephue true # keep original color -- cgit v1.2.3