From 5cfe0b683b4c6f0736a7837a1c5a4f7adbe841e3 Mon Sep 17 00:00:00 2001 From: Gabe Venberg Date: Sun, 13 Aug 2023 15:52:18 -0500 Subject: [PATCH] added keybind to open firefox. --- README.md | 2 +- i3/.config/i3/config | 21 ++++++++++----------- 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index ecac623..ec1f97e 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -all of my dotfiles and text only plugins. (the few I have at the moment...) +all of my dotfiles, managed with (https://www.gnu.org/software/stow/manual/stow.html)[stow] ## Dependencies: This does not list the package manager dependencies of the programs the dotfiles are for, but any extra dependencies that are needed for the specific configuration. diff --git a/i3/.config/i3/config b/i3/.config/i3/config index dd99b74..2eaf774 100644 --- a/i3/.config/i3/config +++ b/i3/.config/i3/config @@ -33,17 +33,13 @@ font pango:DejaVu Sans Mono 8 # Use Mouse+$mod to drag floating windows to their wanted position floating_modifier $mod - # start a terminal (uncomment urxvt/alacritty, but not both!) + # start a terminal bindsym $mod+Return exec --no-startup-id alacritty bindsym $mod+Shift+Return exec cool-retro-term # kill focused window bindsym $mod+Shift+q kill - # start dmenu (a program launcher) - #bindsym $mod+d exec dmenu - #start i3-dmenu, to only see .desktop entries. - #bindsym $mod+d exec i3-dmenu-desktop #start rofi in desktop app mode bindsym $mod+d exec rofi -modi window#run#drun -theme solarized -show drun @@ -81,9 +77,9 @@ font pango:DejaVu Sans Mono 8 bindsym $mod+f fullscreen toggle # change container layout (stacked, tabbed, toggle split) - bindsym $mod+q layout stacking - bindsym $mod+w layout tabbed - bindsym $mod+e layout toggle split + bindsym $mod+e layout stacking + bindsym $mod+r layout tabbed + bindsym $mod+t layout toggle split # toggle tiling / floating bindsym $mod+Shift+space floating toggle @@ -168,13 +164,13 @@ font pango:DejaVu Sans Mono 8 bindsym Up resize shrink height 10 px or 10 ppt bindsym Right resize grow width 10 px or 10 ppt - # back to normal: Enter or Escape or $mod+r + # back to normal: Enter or Escape or $mod+shift+r bindsym Return mode "default" bindsym Escape mode "default" bindsym $mod+r mode "default" } - bindsym $mod+r mode "resize" + bindsym $mod+ctrl+r mode "resize" # lock and turn off the screen with mod+x, and lock+suspend computer with mod+shift+x set $lock_command i3lock @@ -184,7 +180,7 @@ font pango:DejaVu Sans Mono 8 # disable screen going to sleep with mod+b, enable screen going to sleep with mod+shift+b bindsym $mod+b exec --no-startup-id "xset s off -dpms; notify-send --expire-time=500 'screen blanking off'" - bindsym $mod+shift+b exec --no-startup-id "xset +dpms; notify-send --expire-time=500 'screen blanking on'" + bindsym $mod+shift+b exec --no-startup-id "xset +dpms; notify-send --expire-time=500 'screen blanking on'" # change brightness bindsym $mod+control+plus exec --no-startup-id "brightnessctl s +10%; notify-send --expire-time=500 Brightness\ $(brightnessctl -m| cut --delimiter=, -f 4)" @@ -215,6 +211,9 @@ font pango:DejaVu Sans Mono 8 bindsym $mod+plus exec --no-startup-id "wpctl set-volume @DEFAULT_AUDIO_SINK@ 1%-; notify-send --expire-time=1000 $(wpctl get-volume @DEFAULT_AUDIO_SINK@)" bindsym $mod+minus exec --no-startup-id "wpctl set-volume @DEFAULT_AUDIO_SINK@ 1%+; notify-send --expire-time=1000 $(wpctl get-volume @DEFAULT_AUDIO_SINK@)" + #open firefox + bindsym $mod+w exec firefox + #make certan windwows always floating #volume control for_window [class="Pavucontrol"] floating enable