merging waybar configs with my old ones
This commit is contained in:
parent
93879b3ef7
commit
a4740d2dc0
11 changed files with 264 additions and 132 deletions
18
.config/sway/config.d/90-enable-theme.conf
Normal file
18
.config/sway/config.d/90-enable-theme.conf
Normal file
|
@ -0,0 +1,18 @@
|
|||
exec_always {
|
||||
$sway-script-dir/enable-gtk-theme.sh "$gtk-theme"
|
||||
gsettings set org.gnome.desktop.interface icon-theme "$icon-theme"
|
||||
gsettings set org.gnome.desktop.interface cursor-theme "$cursor-theme"
|
||||
gsettings set org.gnome.desktop.interface font-name "$gui-font"
|
||||
gsettings set org.gnome.desktop.input-sources show-all-sources true
|
||||
gsettings set org.gnome.desktop.interface monospace-font-name "$term-font"
|
||||
$sway-script-dir/fontconfig.sh "monospace" "$term-font"
|
||||
|
||||
gsettings set org.freedesktop.appearance color-scheme "$gtk-color-scheme"
|
||||
gsettings set org.gnome.desktop.interface color-scheme "$gtk-color-scheme"
|
||||
|
||||
# make sure gtk-4.0 has the theme settings of the currently active theme
|
||||
|
||||
#/usr/share/sway/scripts/generate-bg.sh "$accent-color" "$text-color" "$background-color"
|
||||
|
||||
#kvantummanager --set "$kvantum-theme"
|
||||
}
|
35
.config/sway/config.d/98-application-defaults.conf
Normal file
35
.config/sway/config.d/98-application-defaults.conf
Normal file
|
@ -0,0 +1,35 @@
|
|||
# don't show gaps if there's only one window on the desktop
|
||||
smart_gaps on
|
||||
|
||||
# set floating mode for generated windows
|
||||
for_window [title="(?:Open|Save) (?:File|Folder|As)"] floating enable
|
||||
for_window [title="(?:Open|Save) (?:File|Folder|As)"] resize set 800 600
|
||||
for_window [window_role="pop-up"] floating enable
|
||||
for_window [window_role="bubble"] floating enable
|
||||
for_window [window_role="task_dialog"] floating enable
|
||||
for_window [window_role="Preferences"] floating enable
|
||||
for_window [window_type="dialog"] floating enable
|
||||
for_window [window_type="menu"] floating enable
|
||||
|
||||
# set floating mode for specific applications
|
||||
for_window [instance="lxappearance"] floating enable
|
||||
for_window [app_id="pamac-manager"] floating enable
|
||||
for_window [app_id="blueberry.py"] floating enable
|
||||
for_window [app_id="dragon-drop"] floating enable, sticky enable
|
||||
for_window [app_id="firefox" title="^Library$"] floating enable, border pixel 1, sticky enable
|
||||
for_window [app_id="thunderbird" title=".*Reminder"] floating enable
|
||||
for_window [app_id="floating_shell"] floating enable, border pixel 1, sticky enable
|
||||
for_window [app_id="Manjaro.manjaro-settings-manager"] floating enable
|
||||
for_window [app_id="" title="Picture in picture"] floating enable, sticky enable
|
||||
for_window [app_id="" title="Picture-in-Picture"] floating enable, sticky enable
|
||||
for_window [instance="around"] floating enable, sticky enable
|
||||
for_window [app_id="xsensors"] floating enable
|
||||
for_window [title="Save File"] floating enable
|
||||
for_window [title="Firefox .*— Sharing Indicator"] floating enable, sticky enable, move to scratchpad
|
||||
for_window [app_id="" title=".* is sharing your screen."] floating enable
|
||||
for_window [title="^wlay$"] floating enable
|
||||
|
||||
# Don't allow applications to inhibit shortcuts, i.e. grab total control of the
|
||||
# keyboard. Chrome currently abuses this by enabling it for all "--app=..."
|
||||
# shortcuts.
|
||||
seat * shortcuts_inhibitor disable
|
|
@ -1,18 +1,43 @@
|
|||
# autostart background applications
|
||||
exec /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||
|
||||
# autostarts
|
||||
exec {
|
||||
$initialize_way_displays
|
||||
$initialize_way_displays
|
||||
$initialize_foot_server
|
||||
$initialize_mounting_daemon
|
||||
$initialize_poweralert_daemon
|
||||
$initialize_idlehack_daemon
|
||||
$initialize_workspace_icons
|
||||
$initialize_swayr_daemon
|
||||
|
||||
$xdg-dirs
|
||||
$swayidle
|
||||
$swappy_notify
|
||||
$flashfocus
|
||||
$wlsunset
|
||||
$autotiling
|
||||
$cliphist_store
|
||||
$cliphist_watch
|
||||
$xdg-dirs
|
||||
$swayidle
|
||||
$swappy_notify
|
||||
$autostart_dex
|
||||
$flashfocus
|
||||
$wlsunset
|
||||
$autotiling
|
||||
$cliphist_store
|
||||
$cliphist_watch
|
||||
}
|
||||
|
||||
# commands that "reload" something
|
||||
exec_always {
|
||||
$initialize_waybar
|
||||
$initialize_waybar
|
||||
|
||||
$apply_background
|
||||
$help_menu
|
||||
$kanshi
|
||||
$clip-persist
|
||||
$mako
|
||||
$auto_xdg_keyboard
|
||||
$watch_playerctl
|
||||
$calendar_daemon
|
||||
$enable_noisetorch
|
||||
$onscreen_bar --refresh
|
||||
$create_rofi_config
|
||||
$update_rofi_theme
|
||||
#$disable_nm_applet_autostart
|
||||
#$nm_applet
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue