diff --git a/de/home/.config/alacritty/alacritty.toml b/de/home/.config/alacritty/alacritty.toml index 712bf38..a0af710 100644 --- a/de/home/.config/alacritty/alacritty.toml +++ b/de/home/.config/alacritty/alacritty.toml @@ -1,6 +1,6 @@ [window] -opacity = 0.7 +opacity = 0.6 dynamic_title = true dynamic_padding = true diff --git a/de/home/.config/environment.d/wayland.conf b/de/home/.config/environment.d/wayland.conf index 9d1dbc5..9db8ebd 100644 --- a/de/home/.config/environment.d/wayland.conf +++ b/de/home/.config/environment.d/wayland.conf @@ -13,7 +13,6 @@ NO_AT_BRIDGE=1 COIN_GL_NO_CURRENT_CONTEXT_CHECK=1 # QT theme -QT_QPA_PLATFORMTHEME="qt5" SAL_USE_VCLPLUGIN="qt5" -QT_QPA_PLATFORMTHEME=qt5ct +QT_QPA_PLATFORMTHEME=qt6ct GTK_THEME=Adwaita-dark diff --git a/de/home/.config/eww/eww.scss b/de/home/.config/eww/eww.scss index 8e1deb5..68d78fb 100644 --- a/de/home/.config/eww/eww.scss +++ b/de/home/.config/eww/eww.scss @@ -1,5 +1,6 @@ * { all: unset; // Unsets everything so you can style everything from scratch +/* font-family: FontAwesome, Overpass;*/ font-family: PogmomIcons, Overpass Nerd Font Propo; } @@ -7,8 +8,8 @@ $bar-module-width: 25px; $bar-bg-color: rgba($color5,0.7); -$bar-module-bg-color: rgba($color0,0.6); -$bar-module-fg-color: $color13; +$bar-module-bg-color: rgba($color0,0.8); +$bar-module-fg-color: rgba($color5,0.8); $bar-module-inactive-fg-color: rgba($color13,0.5); //$bar-active-bg-color: rgba($color1,0.5); //$bar-active-fg-color: $color1; @@ -57,10 +58,18 @@ $bar-module-border-radius: 8px; margin: 5px 0px; background-color: $bar-module-bg-color; min-width: $bar-module-width; - > label { - padding: 0px 10px; + label { + padding: 0px 5px; + margin-right: -10px; } } +.workspace-number { + margin: 0px; + margin-left: -5px; + margin-top: -17px; + padding: 0px; + font-size: 0.6em; +} //value bars scale trough, @@ -117,7 +126,7 @@ circular-progress { border-radius: $bar-module-border-radius; }*/ -.music{ +.music { color: $bar-module-bg-color; background-color: transparent; } @@ -195,11 +204,8 @@ button.active { .reveal_children>widget:only-child { border-radius:$bar-module-border-radius; } -.workspace-number { - font-size: 0.7em; - margin: 0px; -// margin-left: -10px; - padding: 0px; +.datetime { + font-weight: bold; } menu { color: $color9; @@ -303,6 +309,9 @@ $home-widget-border-color: rgba($color5,1); border-radius: $home-button-circle-border-radius; margin: 5px; font-size: 1.2em; + label { + font-size: 1.2em; + } } button:hover { background-color: $home-button-hover-bg-color; diff --git a/de/home/.config/eww/modules/bar/clock.yuck b/de/home/.config/eww/modules/bar/clock.yuck index 3a8bee8..66daa64 100644 --- a/de/home/.config/eww/modules/bar/clock.yuck +++ b/de/home/.config/eww/modules/bar/clock.yuck @@ -1,3 +1,4 @@ (defwidget clock [] (label + :class "datetime" :text {formattime(EWW_TIME,"%b %d, %Y | %H:%M")})) diff --git a/de/home/.config/eww/modules/bar/music.yuck b/de/home/.config/eww/modules/bar/music.yuck index 036e63b..3439c44 100644 --- a/de/home/.config/eww/modules/bar/music.yuck +++ b/de/home/.config/eww/modules/bar/music.yuck @@ -7,4 +7,4 @@ :orientation "h" :space-evenly false :halign "center" - {nowplaying != "" ? "🎵${nowplaying}" : ""})) + {nowplaying != "" ? "🎵 ${nowplaying}" : ""})) diff --git a/de/home/.config/eww/modules/bar/sysdisk.yuck b/de/home/.config/eww/modules/bar/sysdisk.yuck index b648b45..5891c20 100644 --- a/de/home/.config/eww/modules/bar/sysdisk.yuck +++ b/de/home/.config/eww/modules/bar/sysdisk.yuck @@ -3,7 +3,7 @@ (revealer-on-hover :revealvar reveal_sysdisk :revealvar-name "reveal_sysdisk" - (metric :label " " + (metric :label "󰟒 " :tooltip "home" :value {EWW_DISK["/home"].used_perc}) (sysdisk_children))) @@ -13,9 +13,9 @@ :orientation "h" :space-evenly false :halign "center" - (metric :label " " + (metric :label "󰿠 " :tooltip "root" :value {EWW_DISK["/"].used_perc}) - (metric :label " " + (metric :label "󰬉 " :tooltip "boot" :value {EWW_DISK["/boot"].used_perc}))) diff --git a/de/home/.config/eww/modules/bar/sysmem.yuck b/de/home/.config/eww/modules/bar/sysmem.yuck index 1a91020..b42cd62 100644 --- a/de/home/.config/eww/modules/bar/sysmem.yuck +++ b/de/home/.config/eww/modules/bar/sysmem.yuck @@ -3,7 +3,7 @@ (revealer-on-hover :revealvar reveal_sysmem :revealvar-name "reveal_sysmem" - (metric :label " " + (metric :label " " :value {EWW_RAM.used_mem_perc}) (sysmem_children))) diff --git a/de/home/.config/eww/modules/bar/volume.yuck b/de/home/.config/eww/modules/bar/volume.yuck index 7bdf4a2..69c5c5c 100644 --- a/de/home/.config/eww/modules/bar/volume.yuck +++ b/de/home/.config/eww/modules/bar/volume.yuck @@ -5,7 +5,7 @@ :revealvar-name "reveal_volume" (button :onclick 'pavucontrol-qt --tab 3' :class {(volume == 0) ? "" : "active"} - {(volume == 0) ? "" : ((volume > 50) ? "" : "")}) + {(volume == 0) ? "" : ((volume > 50) ? "" : "")}) (volume_children))) (deflisten volume :initial "50" @@ -21,3 +21,4 @@ :value {volume} :orientation "h" :onchange "wpctl set-volume @DEFAULT_AUDIO_SINK@ {}%;paplay 'volume.ogg'"))) + diff --git a/de/home/.config/eww/modules/bar/workspaces.yuck b/de/home/.config/eww/modules/bar/workspaces.yuck index 5659856..7d4624b 100644 --- a/de/home/.config/eww/modules/bar/workspaces.yuck +++ b/de/home/.config/eww/modules/bar/workspaces.yuck @@ -11,9 +11,7 @@ (button :onclick `swaymsg workspace "${entry.name}"` :class {entry.focused ? "focused" : ""} (box - (label - :class 'workspace-icon' - :text '${replace(entry.name,".*:","")}') + '${replace(entry.name,".*:","")}' (label :class "workspace-number" :text {jq(captures(entry.num, '[0-9]$'),'.[].[]','r')})))))) diff --git a/de/home/.config/eww/modules/home/shortcuts.yuck b/de/home/.config/eww/modules/home/shortcuts.yuck index 3b406ea..8a477d0 100644 --- a/de/home/.config/eww/modules/home/shortcuts.yuck +++ b/de/home/.config/eww/modules/home/shortcuts.yuck @@ -15,18 +15,16 @@ :width 60 :height 60 :onclick "hass-cli -a services -I area_id -i left_bedroom -d light -s toggle" - (image - :image-width 20 - :path "icons/home/shortcuts/personal/ceiling-light-multiple.svg" - )) + (label + :justify "center" + :text "󱣝")) (button :width 60 :height 60 :onclick "librewolf-profile Penelope 'https://hass.pogmom.me'" - (image - :image-width 20 - :path "icons/home/shortcuts/personal/home-assistant.svg" - ))) + (label + :justify "center" + :text "󰟐"))) (box :visible {jq(workspacesArray, '.[]\|select(.focused==true).num') <= 9} :orientation "h" @@ -36,26 +34,23 @@ :width 60 :height 60 :onclick "librewolf-profile Penelope 'https://cloud.pogmom.me'" - (image - :image-width 20 - :path "icons/home/shortcuts/personal/nextcloud.svg" - )) + (label + :justify "center" + :text "")) (button :width 60 :height 60 :onclick "librewolf-profile Penelope 'https://masto.pogmom.me'" - (image - :image-width 20 - :path "icons/home/shortcuts/personal/mastodon.svg" - )) + (label + :justify "center" + :text "󰫑")) (button :width 60 :height 60 :onclick "librewolf-profile Penelope 'https://watch.pogmom.me'" - (image - :image-width 20 - :path "icons/home/shortcuts/personal/jellyfin.svg" - ))) + (label + :justify "center" + :text ""))) (box :visible {(jq(workspacesArray, '.[]\|select(.focused==true).num') <= 19) && (jq(workspacesArray, '.[]\|select(.focused==true).num') >= 10)} :orientation "h" @@ -66,28 +61,25 @@ :height 60 :onclick "dolphin 'smb://server-hp-y2z63av'" :tooltip "smb://server-hp-y2z63av" - (image - :image-width 20 - :path "icons/home/shortcuts/development/cloud.svg" - )) + (label + :justify "center" + :text "󰡰")) (button :width 60 :height 60 :onclick "scripts/home/shortcuts/development/router-netgear-r8000" :tooltip "router-netgear-r8000" - (image - :image-width 20 - :path "icons/home/shortcuts/development/router-network.svg" - )) + (label + :justify "center" + :text "󱂇")) (button :width 60 :height 60 :onclick "scripts/home/shortcuts/development/bridge-netgear-r6700" :tooltip "bridge-netgear-r6700" - (image - :image-width 20 - :path "icons/home/shortcuts/development/router-network-wireless.svg" - ))) + (label + :justify "center" + :text "󰑩"))) (box :visible {(jq(workspacesArray, '.[]\|select(.focused==true).num') <= 19) && (jq(workspacesArray, '.[]\|select(.focused==true).num') >= 10)} :orientation "h" @@ -98,37 +90,33 @@ :height 60 :onclick "scripts/home/shortcuts/development/server-asus-n705fd-debian" :tooltip "server-asus-n705fd-debian" - (image - :image-width 20 - :path "icons/home/shortcuts/development/network-pos.svg" - )) - (button - :width 60 - :height 60 - :onclick "scripts/home/shortcuts/development/server-nintendo-rvl101" - :tooltip "server-nintendo-wii-rvl101" - (image - :image-width 20 - :path "icons/home/shortcuts/development/nintendo-wii.svg" - )) + (label + :justify "center" + :text "󱫋")) +;; (button +;; :width 60 +;; :height 60 +;; :onclick "scripts/home/shortcuts/development/server-nintendo-rvl101" +;; :tooltip "server-nintendo-wii-rvl101" +;; (label +;; :justify "center" +;; :text "󰫑")) (button :width 60 :height 60 :onclick "scripts/home/shortcuts/development/server-hp-y2z63av" :tooltip "server-hp-y2z63av" - (image - :image-width 20 - :path "icons/home/shortcuts/development/play-network.svg" - )) + (label + :justify "center" + :text "󰢋")) (button :width 60 :height 60 :onclick "scripts/home/shortcuts/development/server-dell-7050sff-debian" :tooltip "server-dell-7050sff-debian" - (image - :image-width 20 - :path "icons/home/shortcuts/development/folder-network.svg" - ))) + (label + :justify "center" + :text "󰒍"))) (box :visible {(jq(workspacesArray, '.[]\|select(.focused==true).num') <= 39) && (jq(workspacesArray, '.[]\|select(.focused==true).num') >= 30)} :orientation "h" @@ -138,15 +126,14 @@ :width 60 :height 60 :onclick "scripts/home/shortcuts/work/lanecc_links" - (image - :image-width 20 - :path "icons/home/shortcuts/work/briefcase.svg" - )) + (label + :justify "center" + :text "")) (button :width 60 :height 60 :onclick "scripts/home/shortcuts/work/2nd_monitor" - (image - :image-width 20 - :path "icons/home/shortcuts/work/monitor-multiple.svg" + (label + :justify "center" + :text "󰍺" ))))) diff --git a/de/home/.config/eww/modules/home/weather.yuck b/de/home/.config/eww/modules/home/weather.yuck index 847632b..12fe790 100644 --- a/de/home/.config/eww/modules/home/weather.yuck +++ b/de/home/.config/eww/modules/home/weather.yuck @@ -9,7 +9,7 @@ :height 125 :space-evenly true "${json.condition} ${json.icon}" - "${json.current_temp}°F  / ${json.humidity}% " + "${json.current_temp}°F  / ${json.humidity}% " " ${json.max_temp}°F  ${json.min_temp}°F" (label :class "weather-subtitle" diff --git a/de/home/.config/eww/scripts/bar/bluetooth b/de/home/.config/eww/scripts/bar/bluetooth index ec0af26..7a54910 100755 --- a/de/home/.config/eww/scripts/bar/bluetooth +++ b/de/home/.config/eww/scripts/bar/bluetooth @@ -11,7 +11,7 @@ function btstatus(){ device_icon="$(bluetoothctl info ${m} | grep 'Icon: ' | sed 's/.*Icon: //')" case "${device_icon}" in "input-mouse") - device_icon="🖯" + device_icon="󰍽" ;; "phone") device_icon="" diff --git a/de/home/.config/eww/scripts/home/hass_weather b/de/home/.config/eww/scripts/home/hass_weather index 5682e55..8d137b2 100755 --- a/de/home/.config/eww/scripts/home/hass_weather +++ b/de/home/.config/eww/scripts/home/hass_weather @@ -19,25 +19,25 @@ update_cache_json(){ case "${condition_code}" in #https://openweathermap.org/weather-conditions#Weather-Condition-Codes-2 (2[0-9][0-9]) - condition_icon='' + condition_icon='' ;; (3[0-9][0-9]) - condition_icon='' + condition_icon='' ;; (5[0-9][0-9]) - condition_icon='' + condition_icon='' ;; (6[0-9][0-9]) - condition_icon='' + condition_icon='' ;; (7[0-9][0-9]) - condition_icon='▒' + condition_icon='' ;; 800) condition_icon='' ;; (80[0-9]) - condition_icon='' + condition_icon='' ;; esac diff --git a/de/home/.config/gtk-3.0/settings.ini b/de/home/.config/gtk-3.0/settings.ini index 957e9db..1e40d3d 100644 --- a/de/home/.config/gtk-3.0/settings.ini +++ b/de/home/.config/gtk-3.0/settings.ini @@ -1,7 +1,7 @@ [Settings] -gtk-theme-name=Adwaita-dark -gtk-icon-theme-name=Adwaita -gtk-font-name=Cantarell 11 +gtk-theme-name=Adwaita +gtk-icon-theme-name=breeze-dark +gtk-font-name=Overpass Nerd Font Propo 10 gtk-cursor-theme-name=Adwaita gtk-cursor-theme-size=24 gtk-toolbar-style=GTK_TOOLBAR_ICONS @@ -14,4 +14,4 @@ gtk-xft-antialias=1 gtk-xft-hinting=1 gtk-xft-hintstyle=hintslight gtk-xft-rgba=rgb -gtk-application-prefer-dark-theme=0 +gtk-application-prefer-dark-theme=1 diff --git a/de/home/.config/gtklock/style.css b/de/home/.config/gtklock/style.css index 9154737..bc1f77e 100644 --- a/de/home/.config/gtklock/style.css +++ b/de/home/.config/gtklock/style.css @@ -45,11 +45,6 @@ entry.text { color: rgba(250, 250, 250, 1); } -/*button { - padding: 0px; - border: 0px solid #000000; - border-radius: 30px; -}*/ button { background-image: none; margin-left: 10px; diff --git a/de/home/.config/katerc b/de/home/.config/katerc index b182b31..ff1522a 100644 --- a/de/home/.config/katerc +++ b/de/home/.config/katerc @@ -86,7 +86,7 @@ Fallback Encoding=ISO 8859-15 [KTextEditor Renderer] Animate Bracket Matching=false Auto Color Theme Selection=true -Color Theme=Breeze Dark +Color Theme=Breeze Light Font=monospace,9,-1,2,50,0,0,0,0,0 Line Height Multiplier=1.3 Show Indentation Lines=false @@ -172,10 +172,10 @@ SetEditor=false 1920x1200 screen: Width=633 2 screens: Height=467 2 screens: Width=704 -2048x1280 screen: Height=1202 -2048x1280 screen: Width=433 -3 screens: Height=1166 -3 screens: Width=626 +2048x1280 screen: Height=885 +2048x1280 screen: Width=596 +3 screens: Height=1364 +3 screens: Width=3106 [filetree] editShade=183,220,246 diff --git a/de/home/.config/qt5ct/qt5ct.conf b/de/home/.config/qt5ct/qt5ct.conf deleted file mode 100644 index 7a7b37c..0000000 --- a/de/home/.config/qt5ct/qt5ct.conf +++ /dev/null @@ -1,38 +0,0 @@ -[Appearance] -color_scheme_path=/home/pogmommy/.config/qt5ct/colors/airy (copy).conf -custom_palette=false -icon_theme=breeze-dark -standard_dialogs=default -style=Fusion - -[Fonts] -fixed="Overpass,10,-1,5,50,0,0,0,0,0,Regular" -general="Overpass,10,-1,5,50,0,0,0,0,0,Regular" - -[Interface] -activate_item_on_single_click=0 -buttonbox_layout=0 -cursor_flash_time=1000 -dialog_buttons_have_icons=1 -double_click_interval=400 -gui_effects=@Invalid() -keyboard_scheme=2 -menus_have_icons=true -show_shortcuts_in_context_menus=true -stylesheets=/usr/share/qt5ct/qss/fusion-fixes.qss -toolbutton_style=4 -underline_shortcut=1 -wheel_scroll_lines=3 - -[PaletteEditor] -geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\0\0\0\x2v\0\0\x2\x10\0\0\0\0\0\0\0\0\0\0\x2v\0\0\x2\x10\0\0\0\0\0\0\0\0\bp\0\0\0\0\0\0\0\0\0\0\x2v\0\0\x2\x10) - -[QSSEditor] -geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\0\0\0\x2\x82\0\0\x1\xf2\0\0\0\0\0\0\0\0\0\0\x2\x82\0\0\x1\xf2\0\0\0\0\0\0\0\0\a\x80\0\0\0\0\0\0\0\0\0\0\x2\x82\0\0\x1\xf2) - -[SettingsWindow] -geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\0\0\0\x2\xde\0\0\x2\x62\0\0\0\0\0\0\0\0\0\0\x2\xde\0\0\x2\x62\0\0\0\0\0\0\0\0\bp\0\0\0\0\0\0\0\0\0\0\x2\xde\0\0\x2\x62) - -[Troubleshooting] -force_raster_widgets=1 -ignored_applications=@Invalid() diff --git a/de/home/.config/qt5ct/qt5ct.conf b/de/home/.config/qt5ct/qt5ct.conf new file mode 120000 index 0000000..b9acffd --- /dev/null +++ b/de/home/.config/qt5ct/qt5ct.conf @@ -0,0 +1 @@ +../qt6ct/qt6ct.conf \ No newline at end of file diff --git a/de/home/.config/qt6ct/colors/darker_pink.conf b/de/home/.config/qt6ct/colors/darker_pink.conf index 611ca89..507d83e 100644 --- a/de/home/.config/qt6ct/colors/darker_pink.conf +++ b/de/home/.config/qt6ct/colors/darker_pink.conf @@ -1,4 +1,4 @@ [ColorScheme] -active_colors=#ffffafaf, #00424245, #00979797, #005e5c5b, #00302f2e, #004a4947, #ffd0d0d0, #ffffffff, #ffffffff, #003d3d3d, #b3111317, #ffe7e4e0, #ffd7afaf, #fff9f9f9, #ffd7afaf, #ffa70b06, #19576176, #ffffffff, #ff3f3f36, #ffffffff, #80ffffff, #ffd7afaf -disabled_colors=#ff808080, #00424245, #00979797, #005e5c5b, #00302f2e, #004a4947, #ff808080, #ffffffff, #ff808080, #003d3d3d, #b3111317, #ffe7e4e0, #ffd7afaf, #ff808080, #ffd7afaf, #ffa70b06, #19576176, #ffffffff, #ff3f3f36, #ffffffff, #80ffffff, #ffd7afaf -inactive_colors=#ffffafaf, #00424245, #00979797, #005e5c5b, #00302f2e, #004a4947, #ffd0d0d0, #ffffffff, #ffffffff, #003d3d3d, #b3111317, #ffe7e4e0, #ffd7afaf, #fff9f9f9, #ffd7afaf, #ffa70b06, #19576176, #ffffffff, #ff3f3f36, #ffffffff, #80ffffff, #ffd7afaf +active_colors=#ffffafaf, #00424245, #00979797, #005e5c5b, #00302f2e, #004a4947, #ffe4e4e4, #ffe4e4e4, #ffe4e4e4, #003d3d3d, #64111317, #ffe7e4e0, #96d7afaf, #ff111317, #ffd7afaf, #ffa70b06, #19576176, #ffffffff, #ff3f3f36, #ffffffff, #80ffffff, #e1d7afaf +disabled_colors=#ff808080, #00424245, #00979797, #005e5c5b, #00302f2e, #004a4947, #ff808080, #ffe4e4e4, #ff808080, #003d3d3d, #64111317, #ffe7e4e0, #96d7afaf, #ff808080, #ffd7afaf, #ffa70b06, #19576176, #ffffffff, #ff3f3f36, #ffffffff, #80ffffff, #e1d7afaf +inactive_colors=#ffffafaf, #00424245, #00979797, #005e5c5b, #00302f2e, #004a4947, #ffe4e4e4, #ffe4e4e4, #ffe4e4e4, #003d3d3d, #64111317, #ffe7e4e0, #96d7afaf, #ff111317, #ffd7afaf, #ffa70b06, #19576176, #ffffffff, #ff3f3f36, #ffffffff, #80ffffff, #e1d7afaf diff --git a/de/home/.config/qt6ct/qss/header-fix.qss b/de/home/.config/qt6ct/qss/header-fix.qss index 1f353a3..f35b662 100644 --- a/de/home/.config/qt6ct/qss/header-fix.qss +++ b/de/home/.config/qt6ct/qss/header-fix.qss @@ -2,12 +2,21 @@ QTabBar { background-color: transparent; background-image: none; } +/*QTabWidget::tab-bar { + margin-left: 80%; + left: 50%; +}*/ QTabBar::tab { - margin-bottom: 5px; +/* margin: 0px 0px 5px 0px; + margin-bottom: 5px;*/ border: 1px solid #77d68787; - padding: 5px 10px; +/* border-top-left-radius: 4px; + border-top-right-radius: 4px;*/ + padding-left: 10px; + padding-right: 10px; } QTabBar::tab:first { +/* margin-left: 20px;*/ border-top-left-radius: 4px; border-bottom-left-radius: 4px; } @@ -19,7 +28,9 @@ QTabBar::tab:only-one { border-radius: 4px; } QTabBar::close-button { +/* padding-right: 10px;*/ margin-right: 20px; + opacity: 0; } QTabBar::tab:selected, QTabBar::tab:hover { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, diff --git a/de/home/.config/qt6ct/qt6ct.conf b/de/home/.config/qt6ct/qt6ct.conf index f543397..a9a283f 100644 --- a/de/home/.config/qt6ct/qt6ct.conf +++ b/de/home/.config/qt6ct/qt6ct.conf @@ -1,5 +1,5 @@ [Appearance] -color_scheme_path=/home/penelope/.config/qt6ct/colors/darker_pink.conf +color_scheme_path=/home/pogmommy/.config/qt6ct/colors/darker_pink.conf custom_palette=true icon_theme=breeze-dark standard_dialogs=default @@ -19,19 +19,19 @@ gui_effects=@Invalid() keyboard_scheme=2 menus_have_icons=true show_shortcuts_in_context_menus=true -stylesheets=/home/penelope/.config/qt6ct/qss/header-fix.qss, /usr/share/qt6ct/qss/fusion-fixes.qss +stylesheets=/home/pogmommy/.config/qt6ct/qss/header-fix.qss, /usr/share/qt6ct/qss/fusion-fixes.qss toolbutton_style=4 underline_shortcut=1 wheel_scroll_lines=3 [PaletteEditor] -geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\0\0\0\x2\xa1\0\0\x2\xfa\0\0\0\0\0\0\0\0\0\0\x2\xa1\0\0\x2\xfa\0\0\0\0\0\0\0\0\a\x80\0\0\0\0\0\0\0\0\0\0\x2\xa1\0\0\x2\xfa) +geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\bz\0\0\a\b\0\0\v\x1b\0\0\n\x2\0\0\bz\0\0\a\b\0\0\v\x1b\0\0\n\x2\0\0\0\x2\0\0\0\0\rp\0\0\bz\0\0\a\b\0\0\v\x1b\0\0\n\x2) [QSSEditor] geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\0\0\0\x2\x82\0\0\x1\xf2\0\0\0\0\0\0\0\0\0\0\x2\x82\0\0\x1\xf2\0\0\0\0\0\0\0\0\a\x80\0\0\0\0\0\0\0\0\0\0\x2\x82\0\0\x1\xf2) [SettingsWindow] -geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\0\0\0\ag\0\0\x2)\0\0\0\0\0\0\0\0\0\0\ag\0\0\x2)\0\0\0\0\0\0\0\0\a\x80\0\0\0\0\0\0\0\0\0\0\ag\0\0\x2)) +geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\0\0\0\x2\xeb\0\0\x2\x8c\0\0\0\0\0\0\0\0\0\0\x2\xeb\0\0\x2\x8c\0\0\0\0\0\0\0\0\bp\0\0\0\0\0\0\0\0\0\0\x2\xeb\0\0\x2\x8c) [Troubleshooting] force_raster_widgets=1 diff --git a/de/home/.config/sway/config.d/keys.d/scratchpad b/de/home/.config/sway/config.d/keys.d/scratchpad index 5d572e9..da97ce3 100644 --- a/de/home/.config/sway/config.d/keys.d/scratchpad +++ b/de/home/.config/sway/config.d/keys.d/scratchpad @@ -4,9 +4,10 @@ bindsym { #move to scratchpad $mod+Shift+minus move scratchpad #cycle scratchpad - $mod+minus scratchpad show +# $mod+minus scratchpad show, resize set 50ppt 50ppt + $mod+minus exec '$HOME/.config/sway/scripts/scratchpad_cycle.sh' #scratchpad menu # $mod+equal exec '$HOME/.config/sway/scripts/scratchpadmenu.sh' #sticky -# $mod+Shift+equal floating enable, sticky enable + $mod+Shift+equal floating enable, sticky enable } diff --git a/de/home/.config/sway/config.d/keys.d/windows b/de/home/.config/sway/config.d/keys.d/windows index 104ad66..4b955d7 100644 --- a/de/home/.config/sway/config.d/keys.d/windows +++ b/de/home/.config/sway/config.d/keys.d/windows @@ -25,7 +25,8 @@ bindsym { #focus parent $mod+a focus parent #toggle floating - $mod+Shift+space floating toggle +# $mod+Shift+space floating toggle + $mod+Shift+space exec '$HOME/.config/sway/scripts/floating_toggle.sh' #swap between tiles and floats $mod+space focus mode_toggle #enter resize mode diff --git a/de/home/.config/sway/config.d/window_rules b/de/home/.config/sway/config.d/window_rules index f56d36e..2f39af5 100644 --- a/de/home/.config/sway/config.d/window_rules +++ b/de/home/.config/sway/config.d/window_rules @@ -4,10 +4,10 @@ include $HOME/.config/sway/config.d/window_rules.d/* set { #window behavior $ii inhibit_idle focus - $popup floating enable, shadows enable, border pixel 1, sticky enable - $float floating enable, shadows enable + $popup floating enable, shadows enable, border pixel 1, sticky enable, resize set 25ppt 25ppt + $float floating enable, shadows enable, resize set 50ppt 50ppt $game inhibit_idle focus, floating enable, border none, fullscreen enable, shadows disable - $scratch move scratchpad, floating enable, scratchpad hide + $scratch move scratchpad, floating enable, resize set 50ppt 50ppt, scratchpad hide #workspace assignments $home_ws workspace 0: $personal_ws workspace 1:$profile_icon diff --git a/de/home/.config/sway/scripts/floating_toggle.sh b/de/home/.config/sway/scripts/floating_toggle.sh new file mode 100755 index 0000000..738b677 --- /dev/null +++ b/de/home/.config/sway/scripts/floating_toggle.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +swaymsg floating toggle +active_window_scratchstate="$(swaymsg -t get_tree | jq -r '.. | select(.type?) | select(.focused==true).type')" +if [[ "${active_window_type}" == "floating_con" ]];then + active_screen_dim="$(swaymsg -t get_outputs | jq -r '.. | select(.type?) | select(.focused==true).rect')" + active_screen_width="$(jq '.width' <<<${active_screen_dim})" + active_screen_height="$(jq '.height' <<<${active_screen_dim})" + if [[ "${active_screen_width}" -gt "${active_screen_height}" ]];then + swaymsg resize set 50ppt 50ppt + else + swaymsg resize set 75ppt 25ppt + fi +fi diff --git a/de/home/.config/sway/scripts/scratchpad_cycle.sh b/de/home/.config/sway/scripts/scratchpad_cycle.sh new file mode 100755 index 0000000..482712e --- /dev/null +++ b/de/home/.config/sway/scripts/scratchpad_cycle.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +swaymsg scratchpad show +active_window_scratchstate="$(swaymsg -t get_tree | jq -r '.. | select(.type?) | select(.focused==true).scratchpad_state')" +if [[ "${active_window_scratchstate}" != "none" ]];then + active_screen_dim="$(swaymsg -t get_outputs | jq -r '.. | select(.type?) | select(.focused==true).rect')" + active_screen_width="$(jq '.width' <<<${active_screen_dim})" + active_screen_height="$(jq '.height' <<<${active_screen_dim})" + if [[ "${active_screen_width}" -gt "${active_screen_height}" ]];then + swaymsg resize set 50ppt 50ppt + else + swaymsg resize set 75ppt 25ppt + fi +fi