1
0
mirror of https://github.com/balkian/dotfiles.git synced 2024-11-21 11:42:28 +00:00

Updates in i3, added dunst

This commit is contained in:
J. Fernando Sánchez 2015-09-19 18:32:17 +02:00
parent 21debe133a
commit c29fdd9625
5 changed files with 152 additions and 16 deletions

View File

@ -4,7 +4,7 @@
Xft.dpi: 96
Xft.antialias: true
Xft.rgba: rgb
Xft.rgba: none
Xft.hinting: true
Xft.hintstyle: hintslight
@ -27,7 +27,7 @@ URxvt.fading: 0
! URxvt.urgentOnBell: true
! URxvt.visualBell: true
URxvt.loginShell: true
URxvt.saveLines: 50
URxvt.saveLines: 100
URxvt.internalBorder: 3
URxvt.lineSpace: 0
@ -38,7 +38,7 @@ URxvt*font: xft:DejaVu\ Sans\ Mono:pixelsize=14
URxvt*boldFont: xft:DejaVu\ Sans\ Mono:pixelsize=14:style=bold
! Fix font space
!URxvt*letterSpace: -1
URxvt*letterSpace: -1
! Scrollbar
URxvt.scrollStyle: rxvt

View File

@ -0,0 +1,120 @@
[global]
font = "DejaVu Sans 10"
allow_markup = yes
format = "<b>%s %p</b>\n%b"
sort = yes
indicate_hidden = true
idle_threshold = 0
geometry = "300x40-20+20"
alignment = center
show_age_threshold = 60
sticky_history = yes
follow = mouse
icon_position = left
word_wrap = yes
separator_height = 2
padding = 15
horizontal_padding = 10
separator_color = frame
startup_notification = true
dmenu = "/usr/bin/dmenu -p dunst: -nb #FFFFFF -nf #000000 -sb #94DBFF -sf #000000"
browser = firefox
[frame]
width = 0
color = "#565656"
[shortcuts]
close = ctrl+space
close_all = ctrl+shift+space
history = ctrl+grave
context = ctrl+shift+period
[urgency_low]
background = "#232323"
foreground = "#FEFEFE"
timeout = 30
[urgency_normal]
background = "#94DBFF"
foreground = "#000000"
timeout = 45
[urgency_critical]
background = "#ff9999"
foreground = "#000000"
timeout = 0
[libpurple_signed]
appname = libpurple
summary = *igned*
urgency = low
timeout = 3
background = "#ccff33"
[libpurple_came_back]
appname = libpurple
summary = "*came*"
format = ""
[libpurple_went_away]
appname = libpurple
summary = "*went*"
format = ""
[libpurple_says]
appname = libpurple
summary = *ays*
urgency = critical
background = "#ccff33"
[libpurple]
appname = libpurple
urgency = critical
background = "#ccff33"
[twitter]
appname = Pidgin
summary = *twitter.com*
urgency = low
[turpial]
appname = Turpial
urgency = low
[ttytter]
summary = "TTYtter*"
urgency = low
[dunst-sum]
appname = gmailnotify.py
summary = "*[dD]unst*"
urgency = critical
[dunst-body]
appname = gmailnotify.py
body = "*[dD]unst*"
urgency = critical
[mcabber]
appname = notify-send
summary = "*jabber*"
urgency = critical
[irc]
appname = weechat
timeout = 0
background = "#99FF33"
foreground = "#000000"
[XChat]
appname = XChat
timeout = 0
background = "#99FF33"
foreground = "#000000"
[test]
summary = "*test*"
background="#22dd22"

View File

@ -121,7 +121,11 @@
(guide-key-mode 1)
))
(use-package projectile :ensure)
(use-package projectile
:ensure
:config (progn
(projectile-mode)
))
(use-package helm
:ensure t

View File

@ -56,9 +56,10 @@ bindsym $mod+space exec --no-startup-id dmenu_run -fn "-*-cure-medium-*-*-*-11-
# Arandr magic
bindsym Mod1+F5 exec --no-startup-id monitors single
bindsym Mod1+F6 exec --no-startup-id monitors dual
bindsym Mod1+F7 exec --no-startup-id monitors dual home
bindsym Mod1+F8 exec --no-startup-id i3-secondary-to-primary
bindsym Mod1+F6 exec --no-startup-id monitors single HDMI
bindsym Mod1+F7 exec --no-startup-id monitors dual mirror
bindsym Mod1+F8 exec --no-startup-id monitors dual home
bindsym Mod1+F9 exec --no-startup-id monitors dual
# Move to displays
bindsym $mod+Mod1+j move workspace to output down

View File

@ -1,22 +1,33 @@
#!/bin/sh
case $1 in
"single")
#xrandr --auto --output eDP1 --primary --output DP1 --off
~/.screenlayout/gsi-single.sh
xrandr --output HDMI1 --off --output DVI-1 --off --output DP1 --off --output eDP1 --mode 1920x1080 --pos 0x0 --rotate normal --output VGA1 --off
;;
case $2 in
"HDMI")
~/.screenlayout/gsi-single.sh
xrandr --output eDP1 --off --output DVI-1 --off --output DP1 --off --output HDMI1 --mode 1920x1080 --pos 0x0 --rotate normal --output VGA1 --off
;;
*)
#xrandr --auto --output eDP1 --primary --output DP1 --off
~/.screenlayout/gsi-single.sh
xrandr --output HDMI1 --off --output DVI-1 --off --output DP1 --off --output eDP1 --mode 1920x1080 --pos 0x0 --rotate normal --output VGA1 --off
;;
esac
;;
"dual")
case $2 in
"mirror")
xrandr --output DP1 --off --output VIRTUAL1 --off --output eDP1 --mode 1920x1080 --rotate normal --output HDMI1 --primary --mode 1920x1080 --same-as eDP1 --output VGA1 --off
;;
"home")
xrandr --output DP1 --off --output VIRTUAL1 --off --output eDP1 --mode 1920x1080 --pos 0x1080 --rotate normal --output HDMI1 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output VGA1 --off
;;
*)
#xrandr --auto --output eDP1 --primary --right-of DP1
xrandr --output VIRTUAL1 --off --output DP1 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output HDMI1 --off --output eDP1 --mode 1920x1080 --pos 1920x0 --rotate normal --output VGA1 --off
xrandr --output "DVI-1-0" --off
;;
#xrandr --auto --output eDP1 --primary --right-of DP1
xrandr --output VIRTUAL1 --off --output DP1 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output HDMI1 --off --output eDP1 --mode 1920x1080 --pos 1920x0 --rotate normal --output VGA1 --off
xrandr --output "DVI-1-0" --off
;;
esac
;;
;;
esac
if [ `command -v nitrogen` ]; then
nitrogen --restore