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:
 | 
			
		||||
  #  columns: 0
 | 
			
		||||
  #  lines: 0
 | 
			
		||||
  opacity: 0.70
 | 
			
		||||
  opacity: 0.75
 | 
			
		||||
  dynamic_title: true
 | 
			
		||||
 | 
			
		||||
  # Window position (changes require restart)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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 [
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -185,6 +185,7 @@
 | 
			
		|||
                                  "Junction"
 | 
			
		||||
                                  "junction"
 | 
			
		||||
                                  "pinentry-qt"
 | 
			
		||||
                                  "Church Presenter"
 | 
			
		||||
                                  ]
 | 
			
		||||
                          :name [
 | 
			
		||||
                                 "Event Tester"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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;
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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
 | 
			
		||||
<period> = next_frame
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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%
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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} [<span weight='light' size='small'><i>({generic})</i></span>] - {exec}";
 | 
			
		||||
    threads:                        0;
 | 
			
		||||
    scroll-method:                  0;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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 
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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/*
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -87,7 +87,7 @@ binding_screenshot_interactive = <super> KEY_PRINT
 | 
			
		|||
binding_terminal = <super> KEY_ENTER
 | 
			
		||||
binding_pass = <super> KEY_P
 | 
			
		||||
command_agenda = emacsclient -e '(chris/org-agenda)'
 | 
			
		||||
command_browser = fflof
 | 
			
		||||
command_browser = qblof
 | 
			
		||||
command_dolphin = dolphin
 | 
			
		||||
command_emacs = emacslof
 | 
			
		||||
command_kanshi = kanshi
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue