From 9a0fdfefa84d7c2e5446c01fa7bb04e85a2895cb Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Fri, 11 Mar 2022 07:16:33 -0600 Subject: [PATCH] fixing firefox css --- alacritty/alacritty.yml | 2 +- awesome/init.fnl | 2 +- awesome/rules.fnl | 1 + .../navbar_tabs_oneliner_tabs_on_left.css | 26 +++++++++---------- imv/config | 2 +- qutebrowser/autoconfig.yml | 3 ++- qutebrowser/qsettings/QtProject.conf | 2 +- rofi/config.rasi | 4 ++- rofi/launchers-git/launcher.sh | 2 +- scripts/fflof | 2 +- scripts/qblof | 5 ++-- sway/config | 9 ++++--- waybar/config | 2 +- wayfire/wayfire.ini | 2 +- 14 files changed, 35 insertions(+), 29 deletions(-) diff --git a/alacritty/alacritty.yml b/alacritty/alacritty.yml index 3abce1a..713e54b 100644 --- a/alacritty/alacritty.yml +++ b/alacritty/alacritty.yml @@ -20,7 +20,7 @@ window: #dimensions: # columns: 0 # lines: 0 - opacity: 0.70 + opacity: 0.75 dynamic_title: true # Window position (changes require restart) diff --git a/awesome/init.fnl b/awesome/init.fnl index 71f27f2..0df1fe6 100644 --- a/awesome/init.fnl +++ b/awesome/init.fnl @@ -87,7 +87,7 @@ (if (= "syl\n" stdout) (global laptop true) (global laptop false)))) -(local laptop false) +(local laptop true) ;; Table of layouts to cover with awful.layout.inc, order matters. (set awful.layout.layouts [ diff --git a/awesome/rules.fnl b/awesome/rules.fnl index 448da52..d5fd7ac 100644 --- a/awesome/rules.fnl +++ b/awesome/rules.fnl @@ -185,6 +185,7 @@ "Junction" "junction" "pinentry-qt" + "Church Presenter" ] :name [ "Event Tester" diff --git a/firefox/chrome/chrome/navbar_tabs_oneliner_tabs_on_left.css b/firefox/chrome/chrome/navbar_tabs_oneliner_tabs_on_left.css index cdea769..19765a2 100644 --- a/firefox/chrome/chrome/navbar_tabs_oneliner_tabs_on_left.css +++ b/firefox/chrome/chrome/navbar_tabs_oneliner_tabs_on_left.css @@ -191,7 +191,7 @@ the close button is positioned to the far right */ /* make urlbar rounded */ #urlbar{ - /* margin-top: 31px !important; */ + margin-top: 31px !important; padding-right: 10px !important; padding-left: 10px !important; } @@ -205,23 +205,23 @@ the close button is positioned to the far right */ border-radius: 15px !important; } -/* #urlbar[breakout][breakout-extend] { */ -/* margin-top: 20px !important; */ -/* top: 0px !important; */ -/* } */ +#urlbar[breakout][breakout-extend] { + margin-top: 10px !important; + top: 0px !important; +} -/* #urlbar[breakout][breakout-extend] > #urlbar-input-container { */ -/* height: calc(var(--uc-toolbar-height) + 12 * 2px) !important; */ -/* padding-block: calc(2px + (var(--uc-toolbar-height) - var(--urlbar-height)) / 2); */ -/* padding-inline: calc(5px + 2px); */ -/* } */ +#urlbar[breakout][breakout-extend] > #urlbar-input-container { + height: calc(var(--uc-toolbar-height) + 12 * 2px) !important; + padding-block: calc(2px + (var(--uc-toolbar-height) - var(--urlbar-height)) / 2); + padding-inline: calc(5px + 2px); +} #nav-bar-customization-target{ - margin-top: -4px; + margin-top: -14px; } #nav-bar-overflow-button{ - margin-top: -4px !important; + margin-top: -14px !important; } #PanelUI-button{ - margin-top: -4px !important; + margin-top: -14px !important; } diff --git a/imv/config b/imv/config index c116287..d1c3c70 100644 --- a/imv/config +++ b/imv/config @@ -52,7 +52,7 @@ s = scaling next a = zoom actual r = reset -d = close; exec trash $imv_current_file; echo $imv_current_file deleted +d = exec trash "$imv_current_file"; exec notify-send "$imv_current_file deleted"; close # Gif playback = next_frame diff --git a/qutebrowser/autoconfig.yml b/qutebrowser/autoconfig.yml index 60ac38d..28ab6b0 100644 --- a/qutebrowser/autoconfig.yml +++ b/qutebrowser/autoconfig.yml @@ -11,6 +11,7 @@ settings: content.desktop_capture: https://jitsi.tfcconnection.org: true content.geolocation: + https://faithlife.com: false https://openweathermap.org: false https://staff.tfcconnection.org: true content.media.audio_capture: @@ -44,6 +45,6 @@ settings: https://outlook.office.com?mailtouri=%25s: false https://staff.tfcconnection.org: true tabs.show: - global: switching + global: always zoom.default: global: 100% diff --git a/qutebrowser/qsettings/QtProject.conf b/qutebrowser/qsettings/QtProject.conf index 5ba7f39..4f4823a 100644 --- a/qutebrowser/qsettings/QtProject.conf +++ b/qutebrowser/qsettings/QtProject.conf @@ -1,6 +1,6 @@ [FileDialog] history=@Invalid() -lastVisited=file:///home/chris/ +lastVisited=file:///home/chris/nextcloud/tfc qtVersion=5.15.2 shortcuts=file:, file:///home/chris, file:///home/chris/storage/tfc sidebarWidth=116 diff --git a/rofi/config.rasi b/rofi/config.rasi index 9fa4915..9fa5202 100644 --- a/rofi/config.rasi +++ b/rofi/config.rasi @@ -8,7 +8,9 @@ configuration { sidebar-mode: true; /* run-command: "fish -c {cmd}"; */ run-list-command: "fish -c functions"; - display-drun: " "; + display-drun: " "; + display-run: " "; + display-combi: " "; drun-display-format: "{name} [({generic})] - {exec}"; threads: 0; scroll-method: 0; diff --git a/rofi/launchers-git/launcher.sh b/rofi/launchers-git/launcher.sh index 18e18c6..2cb3526 100755 --- a/rofi/launchers-git/launcher.sh +++ b/rofi/launchers-git/launcher.sh @@ -12,7 +12,7 @@ else #echo "this is not hidpi" fi -rofi -no-lazy-grab -show drun -modi drun -theme launchers-git/"$style".rasi $@ & +rofi -no-lazy-grab -show combi -combi-modi "drun,run" -theme launchers-git/"$style".rasi $@ & 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 sleep .1 diff --git a/scripts/fflof b/scripts/fflof index 9014c6c..5f4285b 100755 --- a/scripts/fflof +++ b/scripts/fflof @@ -3,7 +3,7 @@ export MOZ_ENABLE_WAYLAND=1 echo $MOZ_ENABLE_WAYLAND # Check to see if firefox is running -if [ $(pgrep -c GeckoMain) -gt 0 ]; then +if [ $(pgrep -c firefox) -gt 0 ]; then if [ $XDG_SESSION_TYPE = "x11" ]; then #X11 diff --git a/scripts/qblof b/scripts/qblof index 1dc4754..796f596 100755 --- a/scripts/qblof +++ b/scripts/qblof @@ -23,13 +23,14 @@ if pgrep -x qutebrowser > /dev/null; then ww -f org.qutebrowser.qutebrowser -c qutebrowser exit else + echo "other wayland" # WAYLAND qbrg=$(wlrctl window list | rg qutebrowser) - qbwin=$(echo $qbrg | sed 's/.*\: //') + qbwin=$(echo $qbrg | sed 's/\(.*r\)\:.*/\1/') # echo $ffwin - wlrctl toplevel focus title:"$qbwin" + wlrctl toplevel focus "$qbwin" exit fi fi diff --git a/sway/config b/sway/config index 0975c4f..bed3fdb 100644 --- a/sway/config +++ b/sway/config @@ -54,10 +54,10 @@ gaps inner 10 default_border none -# 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 +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 @@ -278,6 +278,7 @@ exec emacs --daemon # exec kwalletd5 exec mako exec nextcloud --background +exec nm-applet xwayland enable include /etc/sway/config.d/* diff --git a/waybar/config b/waybar/config index 22546a4..aef8908 100644 --- a/waybar/config +++ b/waybar/config @@ -158,7 +158,7 @@ "on-click-middle": "close" }, "sway/window": { - "format": " {} ", + "format": "{} ", "max-length": 60, } } diff --git a/wayfire/wayfire.ini b/wayfire/wayfire.ini index 87c32bf..cd54172 100644 --- a/wayfire/wayfire.ini +++ b/wayfire/wayfire.ini @@ -87,7 +87,7 @@ binding_screenshot_interactive = KEY_PRINT binding_terminal = KEY_ENTER binding_pass = KEY_P command_agenda = emacsclient -e '(chris/org-agenda)' -command_browser = fflof +command_browser = qblof command_dolphin = dolphin command_emacs = emacslof command_kanshi = kanshi