From fbf887e44fc75030c23af99aab7cc12742e1dc22 Mon Sep 17 00:00:00 2001 From: Simon Rieger Date: Thu, 1 Jun 2023 15:49:04 +0200 Subject: [PATCH] move parameter to conf file --- dot_config/chrome-flags.conf | 2 ++ dot_config/chromium-flags.conf | 2 ++ dot_config/sway/executable_config.tmpl | 4 ++-- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/dot_config/chrome-flags.conf b/dot_config/chrome-flags.conf index b9f4470..eb3653e 100644 --- a/dot_config/chrome-flags.conf +++ b/dot_config/chrome-flags.conf @@ -1,2 +1,4 @@ --ozone-platform-hint=auto --disable-features=UserAgentClientHint +--force-dark-mode +--enable-features=WebUIDarkMode diff --git a/dot_config/chromium-flags.conf b/dot_config/chromium-flags.conf index b9f4470..eb3653e 100644 --- a/dot_config/chromium-flags.conf +++ b/dot_config/chromium-flags.conf @@ -1,2 +1,4 @@ --ozone-platform-hint=auto --disable-features=UserAgentClientHint +--force-dark-mode +--enable-features=WebUIDarkMode diff --git a/dot_config/sway/executable_config.tmpl b/dot_config/sway/executable_config.tmpl index b4a3d09..e136ac5 100644 --- a/dot_config/sway/executable_config.tmpl +++ b/dot_config/sway/executable_config.tmpl @@ -226,7 +226,7 @@ set $mode_launcher Launch: [c]hromium [t]hunderbird [p]avucontrol [w]displays fi bindsym $mod+o mode "$mode_launcher" mode "$mode_launcher" { - bindsym c exec chromium --ozone-platform-hint=auto, mode "default" + bindsym c exec chromium, mode "default" bindsym t exec thunderbird, mode "default" bindsym p exec pavucontrol-qt, mode "default" bindsym w exec wdisplays, mode "default" @@ -236,7 +236,7 @@ mode "$mode_launcher" { bindsym Return mode "default" } -bindsym $mod+b exec chromium --ozone-platform-hint=auto +bindsym $mod+b exec chromium bindsym $mod+t exec pcmanfm-qt bindsym $mod+shift+t exec thunderbird bindsym $mod+n exec wezterm start nmtui