From fb134bbf3953a25b1d495ebfd2ce1e0ca8902510 Mon Sep 17 00:00:00 2001 From: Quentin Duchemin Date: Sun, 19 Feb 2023 11:01:41 +0100 Subject: [PATCH] Tweak for Firefox workspaces, screenshots working --- .config/bootstrap/config | 3 ++- .config/bootstrap/config_common | 1 + .config/i3/config_common | 4 ++-- .init_config.sh | 2 ++ 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.config/bootstrap/config b/.config/bootstrap/config index 82c63ec..b6dee2c 100644 --- a/.config/bootstrap/config +++ b/.config/bootstrap/config @@ -30,6 +30,7 @@ polybar powerline-fonts python-pip python-pygments +python-requests redshift rofi rsync @@ -53,4 +54,4 @@ xorg-server xorg-xinit xsel yay-bin -zsh \ No newline at end of file +zsh diff --git a/.config/bootstrap/config_common b/.config/bootstrap/config_common index b6dee2c..1a66def 100644 --- a/.config/bootstrap/config_common +++ b/.config/bootstrap/config_common @@ -30,6 +30,7 @@ polybar powerline-fonts python-pip python-pygments +python-pyperclip python-requests redshift rofi diff --git a/.config/i3/config_common b/.config/i3/config_common index 2ae556d..ae1057e 100644 --- a/.config/i3/config_common +++ b/.config/i3/config_common @@ -216,7 +216,7 @@ for_window [title="Preferences$"] floating enable for_window [class="Telegram"] floating enable for_window [class="(?i)Thunderbird"] move position center - +for_window [window_role="GtkFileChooserDialog"] move position center # scratchpad # Make the currently focused window a scratchpad bindsym $mod+Shift+BackSpace move scratchpad @@ -233,5 +233,5 @@ bindsym Mod4+eacute [title="(?i)tech.*obsidian"] scratchpad show, move container # automatic workspace assign [class="(?i)Obsidian"] → number 4 assign [class="(?i)Tor Browser"] → number 5 -assign [class="(?i)Firefox"] → number 3 +assign [class="(?i)Firefox" window_role="browser"] → number 3 assign [class="(?i)VSCodium"] → number 2 diff --git a/.init_config.sh b/.init_config.sh index 5021e1f..7ad5d79 100755 --- a/.init_config.sh +++ b/.init_config.sh @@ -93,6 +93,8 @@ if [ ! -z "$INIT" ]; then sudo systemctl enable --now NetworkManager # So that "Open in Terminal" works in Nemo gsettings set org.cinnamon.desktop.default-applications.terminal exec i3-sensible-terminal + # For screenshots + pip install pychee fi if [ ! -z ${ENV} ]; then