From 7dd0acc3fcac43a40dd00ab8e7f8d0bd8f2a65b6 Mon Sep 17 00:00:00 2001 From: cizordj Date: Thu, 2 Jul 2020 14:48:39 -0300 Subject: [PATCH] Update i3 configuration file - Add xdg-utils and sensible-utils as dependencies - Use xdg and sensible to open default applications --- README.md | 4 ++-- defaults/i3 | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 11026bfa..4be2b742 100644 --- a/README.md +++ b/README.md @@ -34,11 +34,11 @@ Personal collection of themes and scripts for i3w

For Fedora users:

- # dnf install adobe-source-code-pro-fonts dunst i3 polybar nitrogen rofi bash fontawesome-fonts + # dnf install adobe-source-code-pro-fonts dunst i3 polybar nitrogen rofi bash fontawesome-fonts sensible-utils xdg-utils

For Debian users:

- # apt-get install dunst i3 polybar nitrogen rofi bash fonts-font-awesome + # apt-get install dunst i3 polybar nitrogen rofi bash fonts-font-awesome xdg-utils sensible-utils

You can download the missing dependencies for Debian here

Using the script

diff --git a/defaults/i3 b/defaults/i3 index 9fae1e06..6683a2f0 100644 --- a/defaults/i3 +++ b/defaults/i3 @@ -15,8 +15,8 @@ local HOME='$HOME' cat << EOF set $mod Mod4 -new_window pixel 1 -new_float pixel 1 +new_window pixel 2 +new_float pixel 2 hide_edge_borders both @@ -252,8 +252,8 @@ bindsym Print exec i3-scrot -d bindsym Shift+Print exec i3-scrot -s bindsym Alt+Print exec i3-scrot -w bindsym $mod+F1 exec --no-startup-id i3-sensible-terminal -e alsamixer -bindsym $mod+F2 exec --no-startup-id firefox -bindsym $mod+F3 exec --no-startup-id nautilus +bindsym $mod+F2 exec --no-startup-id sensible-browser +bindsym $mod+F3 exec --no-startup-id xdg-open $HOME bindsym $mod+F4 exec --no-startup-id gnome-calculator bindsym $mod+F5 exec --no-startup-id i3-sensible-terminal -e cmus EOF