Added rofi

This commit is contained in:
2021-02-05 22:05:08 +01:00
parent 8c9cbeca7b
commit 80211ea764
4 changed files with 298 additions and 27 deletions

View File

@ -41,16 +41,18 @@ bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOU
floating_modifier $mod
# start a terminal
bindsym $mod+Return exec alacritty
bindsym $mod+Return exec xfce4-terminal
# kill focused window
bindsym $mod+Shift+q kill
bindsym $mod+q kill
bindsym $mod+Shift+x kill
bindsym $mod+x kill
# for x button in laptop (produces alt+f4)
bindsym Mod1+F4 kill
# start dmenu (a program launcher)
bindsym $mod+d exec dmenu_recency -i
bindsym $mod+d exec rofi -show run #dmenu_recency -i
# There also is the (new) i3-dmenu-desktop which only displays applications
# shipping a .desktop file. It is a wrapper around dmenu, so you need that
# installed.
@ -58,9 +60,9 @@ bindsym $mod+d exec dmenu_recency -i
# change focus
# bindsym $mod+h focus left
bindsym $mod+j focus down
bindsym $mod+k focus up
bindsym $mod+l focus right
#bindsym $mod+j focus down
#bindsym $mod+k focus up
#bindsym $mod+l focus right
# alternatively, you can use the cursor keys:
bindsym $mod+Left focus left
@ -69,10 +71,10 @@ bindsym $mod+Up focus up
bindsym $mod+Right focus right
# move focused window
bindsym $mod+Shift+h move left
bindsym $mod+Shift+j move down
bindsym $mod+Shift+k move up
bindsym $mod+Shift+l move right
#bindsym $mod+Shift+h move left
#bindsym $mod+Shift+j move down
#bindsym $mod+Shift+k move up
#bindsym $mod+Shift+l move right
# alternatively, you can use the cursor keys:
bindsym $mod+Shift+Left move left
@ -227,20 +229,6 @@ mode "$mode_system" {
}
bindsym $mod+Shift+e mode "$mode_system"
#set $mode_test System (l) lock, (e) logout, (r) reboot, (s) shutdown
#set $mode_screenshot_file Screenshot to file (w) Active window, (s) Selection, (d) Desktop
#mode "$mode_screenshot_file" {
# bindsym l exec --no-startup-id i3exit lock, mode "default"
# bindsym e exec --no-startup-id i3exit logout, mode "default"
# bindsym r exec --no-startup-id i3exit reboot, mode "default"
# bindsym s exec --no-startup-id i3exit shutdown, mode "default"
#
# # back to normal: Enter or Escape
# bindsym Return mode "default"
# bindsym Escape mode "default"
#}
#bindsym $mod+Shift+Print mode "$mode_screenshot_file"
set $mode_screenshot_file Screenshot to file (w) Active window, (s) Selection, (d) Desktop
mode "$mode_screenshot_file" {
bindsym w exec --no-startup-id "i3-scrot -w", mode "default"
@ -268,9 +256,10 @@ bindsym $mod+Print mode "$mode_screenshot_clipboard"
bindsym $mod+Ctrl+Right move workspace to output right
bindsym $mod+Ctrl+Left move workspace to output right
bindsym $mod+c exec jupyter-calculator
bindsym $mod+c exec rofi_calc
bindsym $mod+p exec xwacomcalibrate
bindsym $mod+t exec thunar
bindsym $mod+j exec jupyter-calculator
workspace_auto_back_and_forth yes
########## Window settings ##########
@ -285,7 +274,7 @@ assign [class="Element"] workspace $ws9
assign [class="Thunderbird"] workspace $ws10
assign [class="zoom"] workspace $ws5
#for_window [class="firefox"] focus
for_window [class="firefox"] focus
#for_window [class="Thunderbird"] focus
for_window [class="TelegramDesktop"] no_focus
for_window [class="Rocket.Chat"] no_focus