Wiki Ubuntu-it

Indice
Partecipa
FAQ
Wiki Blog
------------------
Ubuntu-it.org
Forum
Chiedi
Chat
Cerca
Planet
  • Pagina non alterabile
  • Informazioni
  • Allegati
  • attachment:config.txt di AmbienteGrafico/I3/Personalizzazione

Allegato "config.txt"

Scarica

   1 # imposta il tasto Mod
   2 set $mod Mod4
   3 # font
   4 font pango: FontAwesome 8
   5 # Use Mouse+$mod to drag floating windows to their wanted position
   6 floating_modifier $mod
   7 # avvia il terminale
   8 bindsym $mod+Return exec urxvt
   9 # chiude la finestra in focus
  10 bindsym $mod+Shift+q kill
  11 # start dmenu (a program launcher)
  12 bindsym $mod+d exec dmenu_run
  13 # avvio automatico
  14 exec --no-startup-id i3-msg 'workspace 1; exec /usr/bin/xcompmgr-fF -t-5 -l-5 -r4.2 -o.55 -D2 -m.75'
  15 exec --no-startup-id i3-msg 'workspace 1; exec sh ~/.fehbg &'
  16 exec --no-startup-id i3-msg 'workspace 1; exec wicd-gtk --tray'
  17 exec --no-startup-id i3-msg 'workspace 1; exec tomboy --panel-applet'
  18 exec --no-startup-id i3-msg 'workspace 1; exec sh /usr/bin/wallpaper.sh'
  19 #exec --no-startup-id i3-msg 'workspace 1; exec telegram & '
  20 exec --no-startup-id i3-msg 'workspace 1; exec dropbox &'
  21 # cambia il fuoco alle finestre
  22 bindsym $mod+j focus left
  23 bindsym $mod+k focus down
  24 bindsym $mod+l focus up
  25 bindsym $mod+ograve focus right
  26 # oppure usando i tasti "freccia":
  27 bindsym $mod+Left focus left
  28 bindsym $mod+Down focus down
  29 bindsym $mod+Up focus up
  30 bindsym $mod+Right focus right
  31 # muove la finestra in focus
  32 bindsym $mod+Shift+j move left
  33 bindsym $mod+Shift+k move down
  34 bindsym $mod+Shift+l move up
  35 bindsym $mod+Shift+ograve move right
  36 # oppure usando i tasti freccia:
  37 bindsym $mod+Shift+Left move left
  38 bindsym $mod+Shift+Down move down
  39 bindsym $mod+Shift+Up move up
  40 bindsym $mod+Shift+Right move right
  41 # split in orrizzonale
  42 bindsym $mod+h split h
  43 # split in verticale
  44 bindsym $mod+v split v
  45 # va in modalità fullscreen sulla finestra in focus
  46 bindsym $mod+f fullscreen
  47 # cambia il layout container (stacked, tabbed, toggle split)
  48 bindsym $mod+s layout stacking
  49 bindsym $mod+w layout tabbed
  50 bindsym $mod+e layout toggle split
  51 # passa da modalità tiling a floating
  52 bindsym $mod+Shift+space floating toggle
  53 # cambia modalità finestre tra tiling e floating 
  54 bindsym $mod+space focus mode_toggle
  55 # focus the parent container
  56 bindsym $mod+a focus parent
  57 # focus the child container
  58 #bindsym $mod+d focus child
  59 #finestre senza bordi
  60 for_window [class="Firefox"] border none
  61 for_window [class="urxvt"] border none
  62 for_window [class="Midori"] border none
  63 for_window [class="xfce4-terminal"] border none
  64 for_window [class="Xfce4-notifyd"] floating enable; border none; focus mode_toggle
  65 #hide_edge_borders both 
  66 # gestione volume
  67 bindsym $mod+Page_Up exec --no-startup-id amixer -q set Master 3%+ -q
  68 bindsym $mod+Page_Down exec --no-startup-id amixer -q set Master 3%- -q
  69 bindsym $mod+End exec --no-startup-id amixer -q set Master toggle
  70 # variabili personalizzate per gli spazi di lavoro
  71 set $tag1 cmus
  72 set $tag2 IRC
  73 set $tag3 WWW
  74 set $tag4 Spotify
  75 set $tag5 FM
  76 set $tag6 qemu
  77 set $tag7 telegram
  78 set $tag8 HTOP
  79 set $tag9 free
  80 set $tag0 RSS 
  81 # switch tra spazi di lavoro
  82 bindsym $mod+1 workspace 1 $tag1
  83 bindsym $mod+2 workspace 2 $tag2
  84 bindsym $mod+3 workspace 3 $tag3
  85 bindsym $mod+4 workspace 4 $tag4
  86 bindsym $mod+5 workspace 5 $tag5
  87 bindsym $mod+6 workspace 6 $tag6
  88 bindsym $mod+7 workspace 7 $tag7
  89 bindsym $mod+8 workspace 8 $tag8
  90 bindsym $mod+9 workspace 9 $tag9
  91 bindsym $mod+0 workspace 10 $tag0
  92 # sposta la finestra in focus su altro spazio di lavoro
  93 bindsym $mod+Shift+1 move container to workspace 1 $tag1
  94 bindsym $mod+Shift+2 move container to workspace 2 $tag2
  95 bindsym $mod+Shift+3 move container to workspace 3 $tag3
  96 bindsym $mod+Shift+4 move container to workspace 4 $tag4
  97 bindsym $mod+Shift+5 move container to workspace 5 $tag5
  98 bindsym $mod+Shift+6 move container to workspace 6 $tag6
  99 bindsym $mod+Shift+7 move container to workspace 7 $tag7
 100 bindsym $mod+Shift+8 move container to workspace 8 $tag8
 101 bindsym $mod+Shift+9 move container to workspace 9 $tag9
 102 bindsym $mod+Shift+0 move container to workspace 10 $tag0
 103 # ricarica la configurazione
 104 bindsym $mod+Shift+c reload
 105 # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
 106 bindsym $mod+Shift+r restart
 107 # exit i3 (logs you out of your X session)
 108 bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'hai premuto la scorciatoia x uscire! davvero vuoi uscire da i3? questo chiuderà la sessione X.' -b 'Si Muoviti' 'i3-msg exit'"
 109 # ridimensiona finestra (oppure con il mouse usando tasto sinistro o destro)
 110 mode "resize" {
 111         # These bindings trigger as soon as you enter the resize mode
 112 
 113         # Pressing left will shrink the window’s width.
 114         # Pressing right will grow the window’s width.
 115         # Pressing up will shrink the window’s height.
 116         # Pressing down will grow the window’s height.
 117         bindsym j resize shrink width 10 px or 10 ppt
 118         bindsym k resize grow height 10 px or 10 ppt
 119         bindsym l resize shrink height 10 px or 10 ppt
 120         bindsym ograve resize grow width 10 px or 10 ppt
 121 
 122         # same bindings, but for the arrow keys
 123         bindsym Left resize shrink width 10 px or 10 ppt
 124         bindsym Down resize grow height 10 px or 10 ppt
 125         bindsym Up resize shrink height 10 px or 10 ppt
 126         bindsym Right resize grow width 10 px or 10 ppt
 127 
 128         # back to normal: Enter or Escape
 129         bindsym Return mode "default"
 130         bindsym Escape mode "default"
 131 }
 132 
 133 bindsym $mod+r mode "resize"
 134 # lancia la barra di i3 (plus the system information i3status
 135 # finds out, if available)
 136 bar {
 137   status_command i3status
 138   position top
 139 mode dock
 140 workspace_buttons yes
 141 binding_mode_indicator yes
 142 font pango: FontAwesome 8
 143   colors {
 144     separator  #4F27EC
 145     background #2300B5
 146     statusline #FF006E
 147     focused_workspace #ffffff #7F009
 148     active_workspace #FF6600 #6c71c4 #FF6600
 149     inactive_workspace #586e75 #6EEE00 #002b36
 150     urgent_workspace #d33682 #d33682 #fdf6e3
 151   }
 152 }
 153 
 154 client.focused #859900 #910099 #fdf6e3 #859900
 155 client.focused_inactive #EB0603 #073642 #eee8d5 #6c71c4
 156 client.unfocused #340051 #340051 #93a1a1 #586e75
 157 client.urgent #d33682 #d33682 #fdf6e3 #dc322f

Allegati

Per riferirsi agli allegati di una pagina, usare attachment:NOME_FILE, come mostrato qui sotto nell'elenco degli allegati. NON usare l'URL che si trova in corrispondenza del collegamento [scarica], potrebbe cambiare in futuro.
  • [scarica | mostra] (29/04/2015 18.52.36, 5.8 KB) [[attachment:config.txt]]
 All files | Selected Files: delete move to page copy to page

Non è consentito inserire allegati su questa pagina.