fixing firefox css
This commit is contained in:
		
							parent
							
								
									5e049104f8
								
							
						
					
					
						commit
						9a0fdfefa8
					
				
					 14 changed files with 35 additions and 29 deletions
				
			
		| 
						 | 
					@ -20,7 +20,7 @@ window:
 | 
				
			||||||
  #dimensions:
 | 
					  #dimensions:
 | 
				
			||||||
  #  columns: 0
 | 
					  #  columns: 0
 | 
				
			||||||
  #  lines: 0
 | 
					  #  lines: 0
 | 
				
			||||||
  opacity: 0.70
 | 
					  opacity: 0.75
 | 
				
			||||||
  dynamic_title: true
 | 
					  dynamic_title: true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  # Window position (changes require restart)
 | 
					  # Window position (changes require restart)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -87,7 +87,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 [
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -185,6 +185,7 @@
 | 
				
			||||||
                                  "Junction"
 | 
					                                  "Junction"
 | 
				
			||||||
                                  "junction"
 | 
					                                  "junction"
 | 
				
			||||||
                                  "pinentry-qt"
 | 
					                                  "pinentry-qt"
 | 
				
			||||||
 | 
					                                  "Church Presenter"
 | 
				
			||||||
                                  ]
 | 
					                                  ]
 | 
				
			||||||
                          :name [
 | 
					                          :name [
 | 
				
			||||||
                                 "Event Tester"
 | 
					                                 "Event Tester"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -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: 10px !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: -4px;
 | 
					    margin-top: -14px;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
#nav-bar-overflow-button{
 | 
					#nav-bar-overflow-button{
 | 
				
			||||||
    margin-top: -4px !important;
 | 
					    margin-top: -14px !important;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
#PanelUI-button{
 | 
					#PanelUI-button{
 | 
				
			||||||
    margin-top: -4px !important;
 | 
					    margin-top: -14px !important;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -52,7 +52,7 @@ s = scaling next
 | 
				
			||||||
a = zoom actual
 | 
					a = zoom actual
 | 
				
			||||||
r = reset
 | 
					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
 | 
					# Gif playback
 | 
				
			||||||
<period> = next_frame
 | 
					<period> = next_frame
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -11,6 +11,7 @@ settings:
 | 
				
			||||||
  content.desktop_capture:
 | 
					  content.desktop_capture:
 | 
				
			||||||
    https://jitsi.tfcconnection.org: true
 | 
					    https://jitsi.tfcconnection.org: true
 | 
				
			||||||
  content.geolocation:
 | 
					  content.geolocation:
 | 
				
			||||||
 | 
					    https://faithlife.com: false
 | 
				
			||||||
    https://openweathermap.org: false
 | 
					    https://openweathermap.org: false
 | 
				
			||||||
    https://staff.tfcconnection.org: true
 | 
					    https://staff.tfcconnection.org: true
 | 
				
			||||||
  content.media.audio_capture:
 | 
					  content.media.audio_capture:
 | 
				
			||||||
| 
						 | 
					@ -44,6 +45,6 @@ settings:
 | 
				
			||||||
    https://outlook.office.com?mailtouri=%25s: false
 | 
					    https://outlook.office.com?mailtouri=%25s: false
 | 
				
			||||||
    https://staff.tfcconnection.org: true
 | 
					    https://staff.tfcconnection.org: true
 | 
				
			||||||
  tabs.show:
 | 
					  tabs.show:
 | 
				
			||||||
    global: switching
 | 
					    global: always
 | 
				
			||||||
  zoom.default:
 | 
					  zoom.default:
 | 
				
			||||||
    global: 100%
 | 
					    global: 100%
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,6 @@
 | 
				
			||||||
[FileDialog]
 | 
					[FileDialog]
 | 
				
			||||||
history=@Invalid()
 | 
					history=@Invalid()
 | 
				
			||||||
lastVisited=file:///home/chris/
 | 
					lastVisited=file:///home/chris/nextcloud/tfc
 | 
				
			||||||
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
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -8,7 +8,9 @@ configuration {
 | 
				
			||||||
    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:                   " ";
 | 
				
			||||||
 | 
					    display-run:                    " ";
 | 
				
			||||||
 | 
					    display-combi:                  " ";
 | 
				
			||||||
    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}";
 | 
				
			||||||
    threads:                        0;
 | 
					    threads:                        0;
 | 
				
			||||||
    scroll-method:                  0;
 | 
					    scroll-method:                  0;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -12,7 +12,7 @@ else
 | 
				
			||||||
    #echo "this is not hidpi"
 | 
					    #echo "this is not hidpi"
 | 
				
			||||||
fi
 | 
					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
 | 
					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 
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -3,7 +3,7 @@ export MOZ_ENABLE_WAYLAND=1
 | 
				
			||||||
echo $MOZ_ENABLE_WAYLAND
 | 
					echo $MOZ_ENABLE_WAYLAND
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Check to see if firefox is running
 | 
					# 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
 | 
					    if [ $XDG_SESSION_TYPE = "x11" ]; then
 | 
				
			||||||
        #X11
 | 
					        #X11
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -23,13 +23,14 @@ if pgrep -x qutebrowser > /dev/null; then
 | 
				
			||||||
            ww -f org.qutebrowser.qutebrowser -c qutebrowser
 | 
					            ww -f org.qutebrowser.qutebrowser -c qutebrowser
 | 
				
			||||||
            exit
 | 
					            exit
 | 
				
			||||||
        else
 | 
					        else
 | 
				
			||||||
 | 
					            echo "other wayland"
 | 
				
			||||||
            # WAYLAND
 | 
					            # WAYLAND
 | 
				
			||||||
            qbrg=$(wlrctl window list | rg qutebrowser)
 | 
					            qbrg=$(wlrctl window list | rg qutebrowser)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            qbwin=$(echo $qbrg | sed 's/.*\: //')
 | 
					            qbwin=$(echo $qbrg | sed 's/\(.*r\)\:.*/\1/')
 | 
				
			||||||
            # echo $ffwin
 | 
					            # echo $ffwin
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            wlrctl toplevel focus title:"$qbwin"
 | 
					            wlrctl toplevel focus "$qbwin"
 | 
				
			||||||
            exit
 | 
					            exit
 | 
				
			||||||
        fi
 | 
					        fi
 | 
				
			||||||
    fi
 | 
					    fi
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -54,10 +54,10 @@ gaps inner 10
 | 
				
			||||||
 | 
					
 | 
				
			||||||
default_border none
 | 
					default_border none
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# border_images.focused /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.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.unfocused /home/chris/.config/sway/rounded_and_shadows_custom.png
 | 
				
			||||||
# border_images.urgent /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
 | 
					font pango: VictorMono Nerd Font 10
 | 
				
			||||||
show_marks yes
 | 
					show_marks yes
 | 
				
			||||||
| 
						 | 
					@ -278,6 +278,7 @@ exec emacs --daemon
 | 
				
			||||||
# exec kwalletd5
 | 
					# exec kwalletd5
 | 
				
			||||||
exec mako
 | 
					exec mako
 | 
				
			||||||
exec nextcloud --background
 | 
					exec nextcloud --background
 | 
				
			||||||
 | 
					exec nm-applet
 | 
				
			||||||
 | 
					
 | 
				
			||||||
xwayland enable
 | 
					xwayland enable
 | 
				
			||||||
include /etc/sway/config.d/*
 | 
					include /etc/sway/config.d/*
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -158,7 +158,7 @@
 | 
				
			||||||
   	"on-click-middle": "close"
 | 
					   	"on-click-middle": "close"
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    "sway/window": {
 | 
					    "sway/window": {
 | 
				
			||||||
    	"format": " {} ",
 | 
					    	"format": "{} ",
 | 
				
			||||||
	"max-length": 60,
 | 
						"max-length": 60,
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -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 = fflof
 | 
					command_browser = qblof
 | 
				
			||||||
command_dolphin = dolphin
 | 
					command_dolphin = dolphin
 | 
				
			||||||
command_emacs = emacslof
 | 
					command_emacs = emacslof
 | 
				
			||||||
command_kanshi = kanshi
 | 
					command_kanshi = kanshi
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue