New GTK theme, fixed hover, detaches processes in qute
This commit is contained in:
parent
b232e578b1
commit
05146301fc
@ -2,7 +2,7 @@
|
|||||||
# Any customization should be done in ~/.gtkrc-2.0.mine instead.
|
# Any customization should be done in ~/.gtkrc-2.0.mine instead.
|
||||||
|
|
||||||
include "/home/luke/.gtkrc-2.0.mine"
|
include "/home/luke/.gtkrc-2.0.mine"
|
||||||
gtk-theme-name="Arc-Gruvbox"
|
gtk-theme-name="Kripton"
|
||||||
gtk-icon-theme-name="Adwaita"
|
gtk-icon-theme-name="Adwaita"
|
||||||
gtk-font-name="Sans 10"
|
gtk-font-name="Sans 10"
|
||||||
gtk-cursor-theme-name="Adwaita"
|
gtk-cursor-theme-name="Adwaita"
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
[Settings]
|
[Settings]
|
||||||
gtk-theme-name=Arc-Gruvbox
|
#gtk-theme-name=Arc-Gruvbox
|
||||||
|
gtk-theme-name=Kripton
|
||||||
gtk-icon-theme-name=Adwaita
|
gtk-icon-theme-name=Adwaita
|
||||||
gtk-font-name=Sans 10
|
gtk-font-name=Sans 10
|
||||||
gtk-cursor-theme-size=0
|
gtk-cursor-theme-size=0
|
||||||
|
@ -9,11 +9,11 @@ settings:
|
|||||||
bindings.commands:
|
bindings.commands:
|
||||||
global:
|
global:
|
||||||
normal:
|
normal:
|
||||||
',V': spawn setsid mpv {url}
|
',V': spawn -d mpv {url}
|
||||||
',X': spawn dmenuhandler {url}
|
',X': spawn -d dmenuhandler {url}
|
||||||
',c': hint links spawn setsid st castyt {hint-url}
|
',c': hint links spawn -d st castyt {hint-url}
|
||||||
',v': hint links spawn setsid mpv {hint-url}
|
',v': hint links spawn -d mpv {hint-url}
|
||||||
',x': hint links spawn setsid dmenuhandler {hint-url}
|
',x': hint links spawn -d dmenuhandler {hint-url}
|
||||||
content.desktop_capture:
|
content.desktop_capture:
|
||||||
global: ask
|
global: ask
|
||||||
content.notifications:
|
content.notifications:
|
||||||
@ -59,15 +59,15 @@ settings:
|
|||||||
tabs.tabs_are_windows:
|
tabs.tabs_are_windows:
|
||||||
global: true
|
global: true
|
||||||
url.default_page:
|
url.default_page:
|
||||||
global: https://searx.bocken.xyz
|
global: https://searx.bocken.org
|
||||||
url.searchengines:
|
url.searchengines:
|
||||||
global:
|
global:
|
||||||
DEFAULT: https://searx.bocken.xyz/?q={}&categories=general&language=en-US
|
DEFAULT: https://searx.bocken.org/?q={}&categories=general&language=en-US
|
||||||
ddg: https://duckduckgo.com/?q={}
|
ddg: https://duckduckgo.com/?q={}
|
||||||
ling: https://www.linguee.com/english-german/search?source=auto&query={}
|
ling: https://www.linguee.com/english-german/search?source=auto&query={}
|
||||||
sx: https://searx.bocken.xyz/?q={}&categories=general&language=en-US
|
sx: https://searx.bocken.org/?q={}&categories=general&language=en-US
|
||||||
yt: https://www.youtube.com/results?search_query={}
|
yt: https://www.youtube.com/results?search_query={}
|
||||||
url.start_pages:
|
url.start_pages:
|
||||||
global: https://searx.bocken.xyz/
|
global: https://searx.bocken.org/
|
||||||
zoom.default:
|
zoom.default:
|
||||||
global: 160%
|
global: 160%
|
||||||
|
@ -17,7 +17,8 @@
|
|||||||
|
|
||||||
# Comment/uncomment these lines depending on what wm you want to use. Also
|
# Comment/uncomment these lines depending on what wm you want to use. Also
|
||||||
# check the i3blocks line above.
|
# check the i3blocks line above.
|
||||||
while true; do
|
rm -f /tmp/killdwm
|
||||||
|
while ! [ -f /tmp/killdwm ]; do
|
||||||
dwm
|
dwm
|
||||||
done
|
done
|
||||||
#ssh-agent dwm
|
#ssh-agent dwm
|
||||||
|
@ -2,12 +2,10 @@
|
|||||||
|
|
||||||
[ -z "$1" ] && exit # If $1 is left, hovers in the bottom left, if right, the bottom right
|
[ -z "$1" ] && exit # If $1 is left, hovers in the bottom left, if right, the bottom right
|
||||||
current=$(xdotool getwindowfocus)
|
current=$(xdotool getwindowfocus)
|
||||||
newwidth=$(($(xdotool getdisplaygeometry | awk '{print $1}') / 3))
|
newwidth=$(( 2 * $(xdotool getdisplaygeometry | awk '{print $1}') / 5))
|
||||||
newheight=$(($(xdotool getdisplaygeometry | awk '{print $2}') / 3))
|
newheight=$(( 2 * $(xdotool getdisplaygeometry | awk '{print $2}') / 5))
|
||||||
centerwidth=$(( $(xdotool getdisplaygeometry | awk '{print $1}') / 2))
|
centerwidth=$(( $(xdotool getdisplaygeometry | awk '{print $1}') / 2))
|
||||||
newsize=$(xdotool getwindowgeometry "$current" | grep Geometry | sed -e 's/x/ /g' | awk '{print $3}')
|
borderwidth=1
|
||||||
#newwidth=$(xdotool getwindowgeometry "$current" | grep Geometry | grep -o " [0-9]*")
|
|
||||||
borderwidth=3
|
|
||||||
baroffset=47
|
baroffset=47
|
||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
@ -17,7 +15,7 @@ case "$1" in
|
|||||||
vertical=$(($(xdotool getdisplaygeometry | awk '{print $2}') - newheight - 2 * borderwidth )) ;;
|
vertical=$(($(xdotool getdisplaygeometry | awk '{print $2}') - newheight - 2 * borderwidth )) ;;
|
||||||
center) horizontal=$(( ( $(xdotool getdisplaygeometry | awk '{print $1}') - centerwidth ) / 2 ));
|
center) horizontal=$(( ( $(xdotool getdisplaygeometry | awk '{print $1}') - centerwidth ) / 2 ));
|
||||||
vertical=$baroffset
|
vertical=$baroffset
|
||||||
newheight=$(( $(xdotool getdisplaygeometry | awk '{print $2}' ) - baroffset -5))
|
newheight=$(( $(xdotool getdisplaygeometry | awk '{print $2}' ) - baroffset - 2 * borderwidth ))
|
||||||
newwidth=$centerwidth;;
|
newwidth=$centerwidth;;
|
||||||
esac
|
esac
|
||||||
xdotool windowsize "$current" $newwidth $newheight
|
xdotool windowsize "$current" $newwidth $newheight
|
||||||
|
Loading…
Reference in New Issue
Block a user