Compare commits
2 Commits
fd85cd559d
...
dcfeeee394
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dcfeeee394 | ||
|
|
a52efd5e86 |
@@ -2,6 +2,21 @@
|
||||
|
||||
(use-package elfeed
|
||||
:ensure t
|
||||
:config
|
||||
(defun elfeed-play-with-mpv ()
|
||||
"Open the current elfeed entry link with mpv."
|
||||
(interactive)
|
||||
(let* ((entry (if (eq major-mode 'elfeed-show-mode)
|
||||
elfeed-show-entry
|
||||
(elfeed-search-selected :ignore-region)))
|
||||
(url (and entry (elfeed-entry-link entry))))
|
||||
(if url
|
||||
(progn
|
||||
(message "Opening with mpv: %s" url)
|
||||
(start-process "mpv" nil "mpv" url))
|
||||
(message "No URL found"))))
|
||||
(define-key elfeed-search-mode-map (kbd "v") #'elfeed-play-with-mpv)
|
||||
(define-key elfeed-show-mode-map (kbd "v") #'elfeed-play-with-mpv)
|
||||
:custom
|
||||
(elfeed-enclosure-default-dir "~/Downloads/")
|
||||
(elfeed-search-remain-on-entry t)
|
||||
@@ -25,3 +40,4 @@
|
||||
|
||||
(with-eval-after-load 'elfeed
|
||||
(elfeed-org))
|
||||
|
||||
|
||||
@@ -70,10 +70,6 @@ client.urgent $urgentred $urgentred $white $yellowbrown
|
||||
# is used in the bar {} block below.
|
||||
font pango:Liberation Sans Regular 10
|
||||
|
||||
# This font is widely installed, provides lots of unicode glyphs, right-to-left
|
||||
# text rendering and scalability on retina/hidpi displays (thanks to pango).
|
||||
#font pango:DejaVu Sans Mono 8
|
||||
|
||||
# Windows configuration
|
||||
default_border pixel 3
|
||||
default_floating_border pixel 3
|
||||
@@ -105,12 +101,12 @@ for_window [class="Authy"] floating enable
|
||||
for_window [class="Termfloat"] floating enable, resize set 960 540
|
||||
for_window [class="Mpv"] floating enable, resize set 960 540
|
||||
for_window [class="Spotify"] floating enable, resize set 1280 1024, move scratchpad
|
||||
for_window [class="xfce4-clipman-history"] floating enable, resize set 960 540
|
||||
|
||||
# Workspaces
|
||||
assign [class="Emacs"] 1
|
||||
assign [class="firefox"] 2
|
||||
assign [class="chromium"] 2
|
||||
assign [class="Telegram"] 3
|
||||
assign [class="Emacs"] 2
|
||||
assign [class="Chromium"] 1
|
||||
assign [class="Telegram"] 2
|
||||
assign [class="discord"] 3
|
||||
|
||||
focus_follows_mouse no
|
||||
@@ -161,6 +157,7 @@ bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOU
|
||||
bindsym XF86MonBrightnessUp exec --no-startup-id brightnessctl set +5%
|
||||
bindsym XF86MonBrightnessDown exec --no-startup-id brightnessctl set 5%-
|
||||
#bindsym $mod+Mod1+l exec ~/.config/i3/scripts/lockscreen.sh
|
||||
bindsym $mod+Alt+l exec xflock4
|
||||
|
||||
# use Mouse+Mod4 to drag floating windows to their wanted position
|
||||
floating_modifier $mod
|
||||
@@ -183,7 +180,7 @@ bindsym $mod+Right focus right
|
||||
|
||||
# move focused window
|
||||
bindsym $mod+Shift+$left move left
|
||||
bindsym $mod4+Shift+$down move down
|
||||
bindsym $mod+Shift+$down move down
|
||||
bindsym $mod+Shift+$up move up
|
||||
bindsym $mod+Shift+$right move right
|
||||
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 249 KiB After Width: | Height: | Size: 93 KiB |
@@ -5,6 +5,7 @@
|
||||
<property name="applications" type="empty">
|
||||
<property name="known_applications" type="array">
|
||||
<value type="string" value="blueman"/>
|
||||
<value type="string" value="chromium"/>
|
||||
<value type="string" value="flameshot"/>
|
||||
<value type="string" value="org.freedesktop.network-manager-applet"/>
|
||||
<value type="string" value="org.telegram.desktop"/>
|
||||
|
||||
@@ -56,6 +56,7 @@
|
||||
<property name="plugin-6" type="string" value="systray">
|
||||
<property name="square-icons" type="bool" value="true"/>
|
||||
<property name="known-legacy-items" type="array">
|
||||
<value type="string" value="richiesta di un indirizzo wi-fi per «skywifi_4lxsq»…"/>
|
||||
<value type="string" value="connessione wi-fi «skywifi_4lxsq» attiva: skywifi_4lxsq (58%)"/>
|
||||
<value type="string" value="connessione wi-fi «skywifi_4lxsq» attiva: skywifi_4lxsq (60%)"/>
|
||||
<value type="string" value="gestore dei processi"/>
|
||||
@@ -76,6 +77,7 @@
|
||||
<value type="string" value="clipman"/>
|
||||
</property>
|
||||
<property name="known-items" type="array">
|
||||
<value type="string" value="deluge"/>
|
||||
<value type="string" value="Proton Mail Bridge"/>
|
||||
<value type="string" value="ProtonMailBridge"/>
|
||||
<value type="string" value="blueman"/>
|
||||
@@ -87,6 +89,12 @@
|
||||
<property name="hide-new-items" type="bool" value="true"/>
|
||||
<property name="menu-is-primary" type="bool" value="true"/>
|
||||
<property name="symbolic-icons" type="bool" value="true"/>
|
||||
<property name="hidden-items" type="array">
|
||||
<value type="string" value="deluge"/>
|
||||
</property>
|
||||
<property name="hidden-legacy-items" type="array">
|
||||
<value type="string" value="richiesta di un indirizzo wi-fi per «skywifi_4lxsq»…"/>
|
||||
</property>
|
||||
</property>
|
||||
<property name="plugin-7" type="string" value="separator">
|
||||
<property name="style" type="uint" value="0"/>
|
||||
@@ -125,7 +133,6 @@
|
||||
<value type="string" value="xfce-settings-manager.desktop"/>
|
||||
<value type="string" value="lightdm-gtk-greeter-settings.desktop"/>
|
||||
<value type="string" value="virt-manager.desktop"/>
|
||||
<value type="string" value="io.gitlab.librewolf-community.desktop"/>
|
||||
<value type="string" value="org.xfce.ristretto.desktop"/>
|
||||
</property>
|
||||
<property name="menu-width" type="int" value="700"/>
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
<property name="MenuImages" type="empty"/>
|
||||
<property name="ButtonImages" type="empty"/>
|
||||
<property name="MenuBarAccel" type="empty"/>
|
||||
<property name="CursorThemeName" type="empty"/>
|
||||
<property name="CursorThemeName" type="string" value="Yaru++"/>
|
||||
<property name="CursorThemeSize" type="empty"/>
|
||||
<property name="DecorationLayout" type="string" value="icon,menu:minimize,maximize,close"/>
|
||||
<property name="DialogsUseHeader" type="bool" value="false"/>
|
||||
|
||||
Reference in New Issue
Block a user