added keybind to open firefox.

This commit is contained in:
Gabe Venberg 2023-08-13 15:52:18 -05:00
parent 0e031e38d0
commit 5cfe0b683b
2 changed files with 11 additions and 12 deletions

View file

@ -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: ## 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. 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.

View file

@ -33,17 +33,13 @@ font pango:DejaVu Sans Mono 8
# Use Mouse+$mod to drag floating windows to their wanted position # Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod 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+Return exec --no-startup-id alacritty
bindsym $mod+Shift+Return exec cool-retro-term bindsym $mod+Shift+Return exec cool-retro-term
# kill focused window # kill focused window
bindsym $mod+Shift+q kill 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 #start rofi in desktop app mode
bindsym $mod+d exec rofi -modi window#run#drun -theme solarized -show drun 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 bindsym $mod+f fullscreen toggle
# change container layout (stacked, tabbed, toggle split) # change container layout (stacked, tabbed, toggle split)
bindsym $mod+q layout stacking bindsym $mod+e layout stacking
bindsym $mod+w layout tabbed bindsym $mod+r layout tabbed
bindsym $mod+e layout toggle split bindsym $mod+t layout toggle split
# toggle tiling / floating # toggle tiling / floating
bindsym $mod+Shift+space floating toggle 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 Up resize shrink height 10 px or 10 ppt
bindsym Right resize grow width 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 Return mode "default"
bindsym Escape mode "default" bindsym Escape mode "default"
bindsym $mod+r 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 # lock and turn off the screen with mod+x, and lock+suspend computer with mod+shift+x
set $lock_command i3lock 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 # 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+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 # 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)" 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+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@)" 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 #make certan windwows always floating
#volume control #volume control
for_window [class="Pavucontrol"] floating enable for_window [class="Pavucontrol"] floating enable