mirror of
https://github.com/SqrtMinusOne/dotfiles.git
synced 2025-12-10 19:23:03 +03:00
feat(desktop): i3-switch-tabs, update manifests
This commit is contained in:
parent
20af706fa2
commit
3331e30435
5 changed files with 41 additions and 23 deletions
|
|
@ -1,5 +1,6 @@
|
|||
(specifications->manifest
|
||||
'(
|
||||
"xev"
|
||||
"gparted"
|
||||
"gnome-disk-utility"
|
||||
"anydesk"
|
||||
|
|
@ -43,6 +44,7 @@
|
|||
"bind:utils"
|
||||
"polybar"
|
||||
"python-i3-balance-workspace"
|
||||
"rust-i3-switch-tabs"
|
||||
"i3-gaps"
|
||||
"xinput"
|
||||
"xgamma"
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
(specifications->manifest
|
||||
'(
|
||||
"sbcl"
|
||||
"make"
|
||||
"hugo-extended"
|
||||
"libfaketime"
|
||||
|
|
|
|||
|
|
@ -1,5 +1,8 @@
|
|||
(specifications->manifest
|
||||
'(
|
||||
"inkscape"
|
||||
"kdenlive"
|
||||
"ffmpeg"
|
||||
"krita"
|
||||
"gimp"
|
||||
"libreoffice"))
|
||||
|
|
|
|||
|
|
@ -60,40 +60,45 @@ bindsym $mod+v exec emacs-i3-integration split v
|
|||
# Managing windows:4 ends here
|
||||
|
||||
# [[file:../../Desktop.org::*Managing windows][Managing windows:5]]
|
||||
# enter fullscreen mode for the focused container
|
||||
bindsym $mod+f fullscreen toggle
|
||||
bindsym $mod+c fullscreen toggle global
|
||||
bindsym $mod+period exec i3-switch-tabs right
|
||||
bindsym $mod+comma exec i3-switch-tabs left
|
||||
# Managing windows:5 ends here
|
||||
|
||||
# [[file:../../Desktop.org::*Managing windows][Managing windows:6]]
|
||||
bindsym $mod+w layout stacking
|
||||
bindsym $mod+t layout tabbed
|
||||
bindsym $mod+e exec emacs-i3-integration layout toggle split
|
||||
# enter fullscreen mode for the focused container
|
||||
bindsym $mod+f fullscreen toggle
|
||||
bindsym $mod+c fullscreen toggle global
|
||||
# Managing windows:6 ends here
|
||||
|
||||
# [[file:../../Desktop.org::*Managing windows][Managing windows:7]]
|
||||
bindsym $mod+Shift+f floating toggle
|
||||
bindsym $mod+z focus mode_toggle
|
||||
bindsym $mod+w layout stacking
|
||||
bindsym $mod+t layout tabbed
|
||||
bindsym $mod+e exec emacs-i3-integration layout toggle split
|
||||
# Managing windows:7 ends here
|
||||
|
||||
# [[file:../../Desktop.org::*Managing windows][Managing windows:8]]
|
||||
bindsym $mod+Tab move workspace to output right
|
||||
bindsym $mod+q focus output right
|
||||
bindsym $mod+Shift+f floating toggle
|
||||
bindsym $mod+z focus mode_toggle
|
||||
# Managing windows:8 ends here
|
||||
|
||||
# [[file:../../Desktop.org::*Managing windows][Managing windows:9]]
|
||||
bindsym $mod+a focus parent
|
||||
bindsym $mod+Shift+A focus child
|
||||
bindsym $mod+Tab move workspace to output right
|
||||
bindsym $mod+q focus output right
|
||||
# Managing windows:9 ends here
|
||||
|
||||
# [[file:../../Desktop.org::*Managing windows][Managing windows:10]]
|
||||
bindsym $mod+i sticky toggle
|
||||
bindsym $mod+a focus parent
|
||||
bindsym $mod+Shift+A focus child
|
||||
# Managing windows:10 ends here
|
||||
|
||||
# [[file:../../Desktop.org::*Managing windows][Managing windows:11]]
|
||||
bindsym $mod+x floating enable; sticky enable; move position 1220 0; resize set width 700 px
|
||||
bindsym $mod+i sticky toggle
|
||||
# Managing windows:11 ends here
|
||||
|
||||
# [[file:../../Desktop.org::*Managing windows][Managing windows:12]]
|
||||
bindsym $mod+x floating enable; sticky enable; move position 1220 0; resize set width 700 px
|
||||
# Managing windows:12 ends here
|
||||
|
||||
# [[file:../../Desktop.org::*Workspaces][Workspaces:1]]
|
||||
set $w1 "1 🚀"
|
||||
set $w2 "2 🌍"
|
||||
|
|
@ -126,10 +131,6 @@ bindsym $mod+Shift+7 move container to workspace $w7
|
|||
bindsym $mod+Shift+8 move container to workspace $w8
|
||||
bindsym $mod+Shift+9 move container to workspace $w9
|
||||
bindsym $mod+Shift+0 move container to workspace $w10
|
||||
|
||||
# Cycle workspaces
|
||||
bindsym $mod+comma workspace prev
|
||||
bindsym $mod+period workspace next
|
||||
# Workspaces:1 ends here
|
||||
|
||||
# [[file:../../Desktop.org::*Rules][Rules:1]]
|
||||
|
|
|
|||
21
Desktop.org
21
Desktop.org
|
|
@ -281,6 +281,10 @@ bindsym $mod+Shift+r restart
|
|||
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
|
||||
#+end_src
|
||||
** Managing windows
|
||||
| Guix dependency |
|
||||
|---------------------|
|
||||
| rust-i3-switch-tabs |
|
||||
|
||||
Some keybindings for managing windows.
|
||||
|
||||
=emacs-i3-integration= is a script to pass some command to Emacs to get a consistent set of keybindings in both i3 and Emacs. Check out [[file:Emacs.org::i3 integration][the section in Emacs.org]] for details.
|
||||
|
|
@ -322,6 +326,12 @@ bindsym $mod+s exec emacs-i3-integration split h
|
|||
bindsym $mod+v exec emacs-i3-integration split v
|
||||
#+end_src
|
||||
|
||||
Switch tabs
|
||||
#+begin_src conf-space
|
||||
bindsym $mod+period exec i3-switch-tabs right
|
||||
bindsym $mod+comma exec i3-switch-tabs left
|
||||
#+end_src
|
||||
|
||||
Enter fullscreen mode
|
||||
#+begin_src conf-space
|
||||
# enter fullscreen mode for the focused container
|
||||
|
|
@ -396,10 +406,6 @@ bindsym $mod+Shift+7 move container to workspace $w7
|
|||
bindsym $mod+Shift+8 move container to workspace $w8
|
||||
bindsym $mod+Shift+9 move container to workspace $w9
|
||||
bindsym $mod+Shift+0 move container to workspace $w10
|
||||
|
||||
# Cycle workspaces
|
||||
bindsym $mod+comma workspace prev
|
||||
bindsym $mod+period workspace next
|
||||
#+end_src
|
||||
|
||||
** Rules
|
||||
|
|
@ -2128,12 +2134,15 @@ This section generates manifests for various desktop software that I'm using.
|
|||
|----------+--------------------|
|
||||
| browsers | ungoogled-chromium |
|
||||
| browsers | firefox |
|
||||
** Office
|
||||
** Office & Multimedia
|
||||
| Category | Guix dependency |
|
||||
|----------+-----------------|
|
||||
| office | libreoffice |
|
||||
| office | gimp |
|
||||
| office | krita |
|
||||
| office | ffmpeg |
|
||||
| office | kdenlive |
|
||||
| office | inkscape |
|
||||
** LaTeX
|
||||
| Category | Guix dependency |
|
||||
|----------+-------------------------------|
|
||||
|
|
@ -2158,6 +2167,7 @@ This section generates manifests for various desktop software that I'm using.
|
|||
| dev | libfaketime |
|
||||
| dev | hugo-extended |
|
||||
| dev | make |
|
||||
| dev | sbcl |
|
||||
** Manifests
|
||||
#+NAME: packages
|
||||
#+begin_src emacs-lisp :tangle no :var category=""
|
||||
|
|
@ -2482,6 +2492,7 @@ Other desktop programs I use are listed below.
|
|||
| anydesk | Remote desktop software |
|
||||
| gnome-disk-utility | Manage disks |
|
||||
| gparted | Manage partitions |
|
||||
| xev | Test input |
|
||||
|
||||
#+NAME: packages
|
||||
#+begin_src emacs-lisp :tangle no
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue